misc: fix lint

This commit is contained in:
Dylan Araps 2021-07-06 13:18:28 +03:00
parent 4607718077
commit 0a874f9275
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C
1 changed files with 2 additions and 2 deletions

4
kiss
View File

@ -1090,9 +1090,9 @@ pkg_remove_files() {
while read -r file; do
case $file in /etc/?*[!/])
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"
continue
}