forked from kiss-community/kiss
misc: nits
This commit is contained in:
parent
6c40c27229
commit
f490f3d5b0
7
kiss
7
kiss
@ -1241,13 +1241,13 @@ pkg_remove_files() {
|
||||
case $file in /etc/?*[!/])
|
||||
sh256 "$KISS_ROOT/$file" >/dev/null
|
||||
|
||||
read -r sum_pkg <&3 2>/dev/null ||:
|
||||
read -r sum_pkg <&3 ||:
|
||||
|
||||
equ "$hash" "$sum_pkg" || {
|
||||
printf 'Skipping %s (modified)\n' "$file"
|
||||
continue
|
||||
}
|
||||
esac 2>/dev/null || :
|
||||
esac
|
||||
|
||||
_file=${KISS_ROOT:+"$KISS_ROOT/"}${file%%/}
|
||||
|
||||
@ -1267,9 +1267,6 @@ pkg_remove_files() {
|
||||
fi
|
||||
done
|
||||
|
||||
# First argument needs to be dropped.
|
||||
shift
|
||||
|
||||
# Remove all broken directory symlinks.
|
||||
for sym do
|
||||
[ -e "$sym" ] || rm -f "$sym"
|
||||
|
Loading…
Reference in New Issue
Block a user