kiss: clean up

This commit is contained in:
Dylan Araps 2020-02-05 11:30:29 +02:00
parent 98d5aaab79
commit 24e97f2a00
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E

4
kiss
View File

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