1
0
mirror of https://codeberg.org/kiss-community/kiss synced 2025-01-22 02:14:39 -07:00

kiss-orphans: fix shellcheck and sort result

This commit is contained in:
Ethan 2021-09-26 00:36:43 -05:00
parent 57942dc10f
commit 1d35d60511

View File

@ -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