2020-11-19 05:01:16 -07:00
|
|
|
#!/bin/sh -e
|
|
|
|
# List packages which aren't present in any repository.
|
|
|
|
|
|
|
|
cd "$KISS_ROOT/var/db/kiss/installed"
|
|
|
|
|
2020-11-25 00:02:32 -07:00
|
|
|
kiss s ./* | while IFS=/ read -r _ path; do
|
2020-11-19 05:37:29 -07:00
|
|
|
pkg=${path##*/}
|
2020-11-19 05:01:16 -07:00
|
|
|
|
2020-11-19 05:37:29 -07:00
|
|
|
case $seen in *" $pkg "*)
|
|
|
|
continue
|
|
|
|
esac
|
2020-11-19 05:01:16 -07:00
|
|
|
|
2020-11-19 05:37:29 -07:00
|
|
|
case $path in "$PWD/$pkg")
|
|
|
|
printf '%s\n' "$pkg"
|
|
|
|
esac
|
|
|
|
|
|
|
|
seen="$seen $pkg "
|
2020-11-19 05:01:16 -07:00
|
|
|
done
|
2020-11-19 05:37:29 -07:00
|
|
|
|
|
|
|
|