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/"
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user