mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-12-24 08:00:05 -07:00
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