1
0
mirror of https://codeberg.org/kiss-community/kiss synced 2024-12-25 00:20:05 -07:00

kiss: Fix installation error.

This commit is contained in:
Dylan Araps 2019-07-22 11:01:37 +03:00
parent 22dd69c59e
commit ba19a358fe

6
kiss
View File

@ -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