forked from kiss-community/kiss
kiss: clean up
This commit is contained in:
parent
98d5aaab79
commit
24e97f2a00
4
kiss
4
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 ||:
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user