1
0
mirror of https://codeberg.org/kiss-community/kiss synced 2024-12-22 23:20:06 -07:00
kiss/contrib/kiss-orphans

15 lines
320 B
Plaintext
Raw Normal View History

2019-10-30 04:51:48 -06:00
#!/bin/sh -e
# List orphaned packages.
2019-10-30 04:51:48 -06:00
cd "$KISS_ROOT/var/db/kiss/installed/"
for pkg in *; do
case $pkg in
2020-02-25 13:56:41 -07:00
baseinit|baselayout|gcc|pkgconf|e2fsprogs|musl|\
2020-04-25 00:02:24 -06:00
make|busybox|bzip2|grub|kiss|git|linux-headers)
2020-02-25 13:56:41 -07:00
continue
2019-10-30 04:51:48 -06:00
esac
grep -q "^$pkg$" ./*/depends || printf '%s\n' "$pkg"
done