kiss: Fix upgrade issue.

This commit is contained in:
Dylan Araps 2019-07-22 23:49:43 +03:00
parent 49f7a253d3
commit 0e183d30a3
1 changed files with 2 additions and 2 deletions

4
kiss
View File

@ -714,7 +714,7 @@ pkg_install() {
"$KISS_ROOT/$pkg_db/$pkg_name/manifest" "$cac_dir/m-$pkg_name" | "$KISS_ROOT/$pkg_db/$pkg_name/manifest" "$cac_dir/m-$pkg_name" |
while read -r file; do while read -r file; do
# Skip deleting some leftover files. # Skip deleting some leftover files.
[ -f "$KISS_ROOT/$file" ] && [ -f "$KISS_ROOT/$file" ] && [ ! -L "$KISS_ROOT/$file" ] &&
case $file in case $file in
*bin/rm|*bin/busybox|*bin/rsync|/etc/*) ;; *bin/rm|*bin/busybox|*bin/rsync|/etc/*) ;;
*) rm -f "$KISS_ROOT/$file" ;; *) rm -f "$KISS_ROOT/$file" ;;
@ -979,7 +979,7 @@ args() {
# Print version and exit. # Print version and exit.
v*) v*)
log "kiss 0.5.8" log "kiss 0.5.9"
;; ;;
# Catch all invalid arguments as well as # Catch all invalid arguments as well as