aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2020-02-05 09:30:29 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2020-02-05 09:30:29 +0000
commitc4980f8145e270680f31f9a4f69b15148220c2f5 (patch)
tree22b4ac3645a552eb5c4812d17ef7f7034e252dff
parentb36a8775e5e0ccbc51269bacf22a51c8c54c01f8 (diff)
downloadcpt-c4980f8145e270680f31f9a4f69b15148220c2f5.tar.gz
kiss: clean up
FossilOrigin-Name: 8f271022bfbfd9a553cd8e028d28fd77ec7bedba78ed205941ceed1f415cf952
-rwxr-xr-xkiss4
1 files changed, 1 insertions, 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 ||:
)