]> pd.if.org Git - zpackage/blobdiff - zpm
remove libexec
[zpackage] / 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