commit ba19a358fef6754bfc5a2b8a13708fbe0aba5806
parent 22dd69c59ef81019e4757fc658fb463efca3f656
Author: Dylan Araps <dylan.araps@gmail.com>
Date: Mon, 22 Jul 2019 11:01:37 +0300
kiss: Fix installation error.
Diffstat:
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git 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