1
0
mirror of https://codeberg.org/kiss-community/kiss synced 2025-01-22 10:24:42 -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/" cd "$KISS_ROOT/var/db/kiss/installed/"
for pkg in *; do for pkg in *; do
(
case $pkg in case $pkg in
# Exemptions for orphans which aren't really # Exemptions for orphans which aren't really
# orphans. Exclude them from the list. # orphans. Exclude them from the list.
@ -13,7 +12,8 @@ for pkg in *; do
continue continue
esac esac
(
grep -q "^$pkg$" ./*/depends || printf '%s\n' "$pkg" grep -q "^$pkg$" ./*/depends || printf '%s\n' "$pkg"
) & ) &
done done | sort
wait wait