1
0
mirror of https://codeberg.org/kiss-community/kiss synced 2024-11-04 14:05:41 -07:00

contrib: drop repo-orphans

Use 'kiss U' or 'kiss upgrade' instead.
This commit is contained in:
Dylan Araps 2021-08-08 15:40:08 +03:00
parent 36ac143978
commit fc99f6c44f
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C

View File

@ -1,20 +0,0 @@
#!/bin/sh -e
# List packages which aren't present in any repository.
cd "$KISS_ROOT/var/db/kiss/installed"
kiss s ./* | while IFS=/ read -r _ path; do
pkg=${path##*/}
case $seen in *" $pkg "*)
continue
esac
case $path in "$PWD/$pkg")
printf '%s\n' "$pkg"
esac
seen="$seen $pkg "
done