aboutsummaryrefslogtreecommitdiff
path: root/kiss
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2019-07-22 20:49:43 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2019-07-22 20:49:43 +0000
commit8629fbd9e5ae247bd9a12105a6e38bca1fb27f7b (patch)
tree788aace371d7affe8f94d3ef5ee31e7359c3d58d /kiss
parentab68aaea45a7b070c77f027da20e5ab20c6a2576 (diff)
downloadcpt-8629fbd9e5ae247bd9a12105a6e38bca1fb27f7b.tar.gz
kiss: Fix upgrade issue.
FossilOrigin-Name: 76cb5b69a194f1f2f8f064c1d93107c5ccf89a888834fa84fa0fce78f8173684
Diffstat (limited to 'kiss')
-rwxr-xr-xkiss4
1 files changed, 2 insertions, 2 deletions
diff --git a/kiss b/kiss
index 4705da2..cffb669 100755
--- a/kiss
+++ b/kiss
@@ -714,7 +714,7 @@ pkg_install() {
"$KISS_ROOT/$pkg_db/$pkg_name/manifest" "$cac_dir/m-$pkg_name" |
while read -r file; do
# Skip deleting some leftover files.
- [ -f "$KISS_ROOT/$file" ] &&
+ [ -f "$KISS_ROOT/$file" ] && [ ! -L "$KISS_ROOT/$file" ] &&
case $file in
*bin/rm|*bin/busybox|*bin/rsync|/etc/*) ;;
*) rm -f "$KISS_ROOT/$file" ;;
@@ -979,7 +979,7 @@ args() {
# Print version and exit.
v*)
- log "kiss 0.5.8"
+ log "kiss 0.5.9"
;;
# Catch all invalid arguments as well as