aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2019-07-22 08:01:37 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2019-07-22 08:01:37 +0000
commit018b10576e47cc57277751b95044f507b16bf3de (patch)
treeab650fa87b2eba2c8f21650d86f5f3d6bce7596d
parent98c366d1e05f1e432fe726ddd13d64690f8ab1a0 (diff)
downloadcpt-018b10576e47cc57277751b95044f507b16bf3de.tar.gz
kiss: Fix installation error.
FossilOrigin-Name: 6f32a143b1567d6308f8c93d4faaba1f27c9d203f00498b8b652e337c2f2226a
-rwxr-xr-xkiss6
1 files changed, 5 insertions, 1 deletions
diff --git a/kiss b/kiss
index 14885e5..07d6bb5 100755
--- a/kiss
+++ b/kiss
@@ -709,6 +709,10 @@ pkg_install() {
[ -f "$KISS_ROOT/$file" ] && rm -f "$KISS_ROOT/$file"
done
+ # Install the package again to fix any non-leftover files being
+ # removed above.
+ rsync -HKav --exclude etc -- "$tar_dir/" "$KISS_ROOT/"
+
# Reset 'trap' to its original value. Installation is done so
# we no longer need to block 'Ctrl+C'.
trap pkg_clean EXIT INT
@@ -961,7 +965,7 @@ args() {
# Print version and exit.
v*)
- log "kiss 0.5.5"
+ log "kiss 0.5.6"
;;
# Catch all invalid arguments as well as