forked from kiss-community/kiss
kiss: Fix installation error.
This commit is contained in:
parent
22dd69c59e
commit
ba19a358fe
6
kiss
6
kiss
@ -709,6 +709,10 @@ pkg_install() {
|
|||||||
[ -f "$KISS_ROOT/$file" ] && rm -f "$KISS_ROOT/$file"
|
[ -f "$KISS_ROOT/$file" ] && rm -f "$KISS_ROOT/$file"
|
||||||
done
|
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
|
# Reset 'trap' to its original value. Installation is done so
|
||||||
# we no longer need to block 'Ctrl+C'.
|
# we no longer need to block 'Ctrl+C'.
|
||||||
trap pkg_clean EXIT INT
|
trap pkg_clean EXIT INT
|
||||||
@ -961,7 +965,7 @@ args() {
|
|||||||
|
|
||||||
# Print version and exit.
|
# Print version and exit.
|
||||||
v*)
|
v*)
|
||||||
log "kiss 0.5.5"
|
log "kiss 0.5.6"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
# Catch all invalid arguments as well as
|
# Catch all invalid arguments as well as
|
||||||
|
Loading…
Reference in New Issue
Block a user