From 105f29fb9dff6a233a78b39588f6dffe8d5a2e27 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sat, 17 Jul 2021 18:27:46 +0300 Subject: [PATCH] kiss: nit --- kiss | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kiss b/kiss index 31e9160..6512f10 100755 --- a/kiss +++ b/kiss @@ -1346,10 +1346,10 @@ pkg_installable() { while read -r dep dep_type || [ "$dep" ]; do case $dep-$dep_type in [!\#]?*) - [ -d "$sys_db/$dep" ] || { - printf '%s %s\n' "$dep" "$dep_type" - set -- "$1" "$2" "$(($3 + 1))" - } + ! [ -d "$sys_db/$dep" ] || continue + + printf '%s %s\n' "$dep" "$dep_type" + set -- "$1" "$2" "$(($3 + 1))" esac done < "$2"