From 24e97f2a008c29cac231a7b995aee42094bca11a Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Wed, 5 Feb 2020 11:30:29 +0200 Subject: [PATCH] kiss: clean up --- kiss | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/kiss b/kiss index e490341..7fc7545 100755 --- a/kiss +++ b/kiss @@ -956,7 +956,7 @@ pkg_install() { # old = X, sys = X, new = Y ${sum_old}${sum_old}${sum_old}|\ ${sum_old:-null}${sum_sys}${sum_sys}|\ - ${sum_sys}${sum_old}*) ;; + ${sum_sys}${sum_old}*) new= ;; # All other cases. *) log "$pkg_name" "WARN: saving $file as $file.new" @@ -965,8 +965,6 @@ pkg_install() { cp -af "$file" "$KISS_ROOT/${file}${new}" chown root:root "$KISS_ROOT/${file}${new}" - - new= done ||: )