]> pd.if.org Git - zpackage/commitdiff
remove libexec
authorNathan Wagner <nw@hydaspes.if.org>
Sun, 1 Jul 2018 02:26:17 +0000 (02:26 +0000)
committerNathan Wagner <nw@hydaspes.if.org>
Sun, 1 Jul 2018 02:26:17 +0000 (02:26 +0000)
zpm

diff --git a/zpm b/zpm
index 129c72ac5c5f717e19287fd1fc176936b09889d8..633eabf9cf553df8b037203b406e7e9c3ecc0c26 100755 (executable)
--- a/zpm
+++ b/zpm
@@ -9,9 +9,11 @@ while getopts P: opt; do
 done
 shift $((OPTIND - 1))
 
-: ${ZPMPATH:=/usr/libexec/zpm}
+#: ${ZPMPATH:=/usr/libexec/zpm}
 
-PATH="$PATH:$ZPMPATH"
+if [ -n "$ZPMPATH" ]; then
+       PATH="$PATH:$ZPMPATH"
+fi
 export PATH
 
 [ -z "$1" ] && set help