aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2020-04-27 08:59:25 +0000
committermerakor <cem@ckyln.com>2020-04-27 08:59:25 +0000
commit7fe719ab96cf539bcc4278ce83d8fa8982afbce9 (patch)
tree41ac7096adb0ce2f3cc0c85a7586fd745f758c25
parent8fb46f2d2346a19cddcfa089e611d58c18b2e6ca (diff)
downloadcpt-1.14.3.tar.gz
kiss: install to KISS_ROOT instead of the system1.14.3
FossilOrigin-Name: 51c2db1bc1036bf0d5dc7d4ca7846c961c518ffa0ffa5dd25bee47b3c4adcc18
-rwxr-xr-xkiss4
1 files changed, 2 insertions, 2 deletions
diff --git a/kiss b/kiss
index 56a7eba..a813b87 100755
--- a/kiss
+++ b/kiss
@@ -878,7 +878,7 @@ pkg_install_files() {
if [ -h "$2/$line" ]; then
[ -d "$KISS_ROOT/$line" ] && continue
- cp -fPp "$2/$line" "${line%/*}"
+ cp -fPp "$2/$line" "$KISS_ROOT/${line%/*}"
chown -h root:root "$KISS_ROOT/$line"
else
install -o root -g root -m "$rwx" \
@@ -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.2 ;;
+ v|version) log kiss 1.14.3 ;;
h|help|-h|--help|'')
log 'kiss [a|b|c|f|i|l|r|s|u|v] [pkg] [pkg] [pkg]'