kiss: nit

This commit is contained in:
Dylan Araps 2021-07-17 18:27:46 +03:00
parent b6b374dbc6
commit 105f29fb9d
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C

8
kiss
View File

@ -1346,10 +1346,10 @@ pkg_installable() {
while read -r dep dep_type || [ "$dep" ]; do while read -r dep dep_type || [ "$dep" ]; do
case $dep-$dep_type in [!\#]?*) case $dep-$dep_type in [!\#]?*)
[ -d "$sys_db/$dep" ] || { ! [ -d "$sys_db/$dep" ] || continue
printf '%s %s\n' "$dep" "$dep_type"
set -- "$1" "$2" "$(($3 + 1))" printf '%s %s\n' "$dep" "$dep_type"
} set -- "$1" "$2" "$(($3 + 1))"
esac esac
done < "$2" done < "$2"