From 1d35d605114f43aebcad2c71effa61bc56c344c7 Mon Sep 17 00:00:00 2001 From: Ethan Date: Sun, 26 Sep 2021 00:36:43 -0500 Subject: [PATCH] kiss-orphans: fix shellcheck and sort result --- contrib/kiss-orphans | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/contrib/kiss-orphans b/contrib/kiss-orphans index 56e4afe..02deae2 100755 --- a/contrib/kiss-orphans +++ b/contrib/kiss-orphans @@ -4,7 +4,6 @@ cd "$KISS_ROOT/var/db/kiss/installed/" for pkg in *; do - ( case $pkg in # Exemptions for orphans which aren't really # orphans. Exclude them from the list. @@ -13,7 +12,8 @@ for pkg in *; do continue esac - grep -q "^$pkg$" ./*/depends || printf '%s\n' "$pkg" + ( + grep -q "^$pkg$" ./*/depends || printf '%s\n' "$pkg" ) & -done +done | sort wait