1
0
mirror of https://codeberg.org/kiss-community/kiss synced 2024-12-24 16:10:05 -07:00

kiss: Fix upgrade issue.

This commit is contained in:
Dylan Araps 2019-07-22 23:49:43 +03:00
parent 49f7a253d3
commit 0e183d30a3

4
kiss
View File

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