kiss: warn if package only exists in /var/db/kiss/installed

This commit is contained in:
Dylan Araps 2020-04-28 18:30:57 +03:00
parent d46bbf517d
commit 1a89e0b0a2
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
1 changed files with 4 additions and 0 deletions

4
kiss
View File

@ -108,6 +108,10 @@ pkg_lint() {
[ "$2" ] || [ -f checksums ] ||
die "$1" "Checksums are missing"
case $PWD in "$KISS_ROOT/var/db/kiss/installed"*)
log "$1" "WARN: This package no longer exists in the repositories"
esac
}
pkg_find() {