aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2020-04-27 08:48:10 +0000
committermerakor <cem@ckyln.com>2020-04-27 08:48:10 +0000
commit8fb46f2d2346a19cddcfa089e611d58c18b2e6ca (patch)
treec91fa113b59fb2ddcd738c1d79caa7ee4c58f66c
parentb8cbdaf421252d940f82231573fd4b9a9422f0a2 (diff)
downloadcpt-1.14.2.tar.gz
kiss: check for the directory with KISS_PATH1.14.2
FossilOrigin-Name: 280d4a75e798102933c642eea788997ab181f95a74220d8c217ccb4615a3db49
-rwxr-xr-xkiss4
1 files changed, 2 insertions, 2 deletions
diff --git a/kiss b/kiss
index 2ff37a9..56a7eba 100755
--- 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]'