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:
parent
57942dc10f
commit
1d35d60511
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user