commit c4f2c408143e4c3678d2cb2b075ee6d13a31d958
parent f7297a9e20d6a906683d9668ca279971e08db765
Author: Cem Keylan <cem@ckyln.com>
Date: Mon, 27 Apr 2020 11:48:11 +0300
kiss: check for the directory with KISS_PATH
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/kiss b/kiss
@@ -867,7 +867,7 @@ pkg_install_files() {
# The 'test' will run with '-e' for no-overwrite and '-z'
# for overwrite.
case $line in /etc/*) ;;
- */) [ -d "$line" ] ||
+ */) [ -d "$KISS_ROOT/$line" ] ||
install -o root -g root -m "$rwx" \
-d "$KISS_ROOT/$line"
@@ -1383,7 +1383,7 @@ args() {
l|list) pkg_list "$@" ;;
u|update) pkg_updates ;;
s|search) for pkg do pkg_find "$pkg" all; done ;;
- v|version) log kiss 1.14.1 ;;
+ v|version) log kiss 1.14.2 ;;
h|help|-h|--help|'')
log 'kiss [a|b|c|f|i|l|r|s|u|v] [pkg] [pkg] [pkg]'