forked from kiss-community/kiss
misc: fix lint
This commit is contained in:
parent
4607718077
commit
0a874f9275
4
kiss
4
kiss
@ -1090,9 +1090,9 @@ pkg_remove_files() {
|
|||||||
while read -r file; do
|
while read -r file; do
|
||||||
case $file in /etc/?*[!/])
|
case $file in /etc/?*[!/])
|
||||||
sh256 "$KISS_ROOT/$file" >/dev/null
|
sh256 "$KISS_ROOT/$file" >/dev/null
|
||||||
sum_old=$(grep -F "${hash:=null}" "$mak_dir/c")
|
sum_old=$(grep -F "${hash:-null}" "$mak_dir/c")
|
||||||
|
|
||||||
[ "$hash" = "$sum_old" ] || {
|
[ "${hash:-null}" = "$sum_old" ] || {
|
||||||
printf 'Skipping %s (modified)\n' "$file"
|
printf 'Skipping %s (modified)\n' "$file"
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user