From 85ca59aea4669ebb9ca46ff62cf2a4248ec61436 Mon Sep 17 00:00:00 2001 From: remph Date: Thu, 10 Oct 2024 18:03:10 +0100 Subject: Init a swob/wob.ini if not present, instead of using a temp file. Also, dwl config.h --- install.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'install.sh') diff --git a/install.sh b/install.sh index 4ea365f..8973287 100755 --- a/install.sh +++ b/install.sh @@ -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 -- cgit