From 49e52a04e11a63e5db2e36f64ec87c2109172db9 Mon Sep 17 00:00:00 2001 From: remph Date: Wed, 18 Dec 2024 19:12:45 +0000 Subject: Support installation under /usr/local Use `PREFIX=/usr/local ETCDIR=$PREFIX/etc ./install.sh' --- swob.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'swob.sh') diff --git a/swob.sh b/swob.sh index dc2dbb4..8993a07 100755 --- a/swob.sh +++ b/swob.sh @@ -7,7 +7,7 @@ wobfifo=$XDG_RUNTIME_DIR/$WAYLAND_DISPLAY.swob wobini= set_wobini() { - for dir in ${XDG_CONFIG_HOME:+"$XDG_CONFIG_HOME"} ~/.config /etc; do + for dir in ${XDG_CONFIG_HOME:+"$XDG_CONFIG_HOME"} ~/.config /etc "${0%/*}"/../etc; do if test -r "$dir"/swob/wob.ini; then wobini=$dir/swob/wob.ini return -- cgit