diff options
| author | 2024-12-18 19:12:45 +0000 | |
|---|---|---|
| committer | 2024-12-21 21:42:31 +0000 | |
| commit | 49e52a04e11a63e5db2e36f64ec87c2109172db9 (patch) | |
| tree | b573363fdbddfd106020afc3b14e8f556ba0ccbb /swob.sh | |
| parent | ee04a62a1c1215742f352823b761fa03cebf2bf5 (diff) | |
Support installation under /usr/local
Use `PREFIX=/usr/local ETCDIR=$PREFIX/etc ./install.sh'
Diffstat (limited to 'swob.sh')
| -rwxr-xr-x | swob.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |
