diff options
| author | 2024-10-10 18:03:10 +0100 | |
|---|---|---|
| committer | 2024-10-10 18:07:49 +0100 | |
| commit | 85ca59aea4669ebb9ca46ff62cf2a4248ec61436 (patch) | |
| tree | e756e4266e9259a0c86c8e66f3745890793b4128 /install.sh | |
| parent | 3de3d1e46625a272e8e4e529786573dcbed36ceb (diff) | |
Init a swob/wob.ini if not present, instead of using a temp file. Also,
dwl config.h
Diffstat (limited to 'install.sh')
| -rwxr-xr-x | install.sh | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -1,5 +1,9 @@ #!/bin/sh set -ex -install -m 644 -Dt "$DESTDIR"/etc/sway/config.d/ swob-swayconfig -install -D -m 644 swob-wob.ini "$DESTDIR"/etc/swob/wob.ini +mkdir -p "$DESTDIR"/etc/sway/config.d/ "$DESTDIR"/etc/swob/ +for i in swayconfig wob.ini; do + install -m 644 swob-$i "$DESTDIR"/etc/swob/$i +done +ln -s ../../swob/swayconfig "$DESTDIR"/etc/sway/config.d/swob-swayconfig install -Dt "$DESTDIR"/usr/bin swob.sh +install -m644 -Dt "$DESTDIR"/usr/share/doc/swob README.md dwl-config.h.patch |
