kiss: Show warning when sources file is missing

This commit is contained in:
Dylan Araps 2020-05-09 20:49:58 +03:00
parent 3e004b193a
commit f18a4c339d
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
1 changed files with 1 additions and 0 deletions

1
kiss
View File

@ -176,6 +176,7 @@ pkg_lint() {
[ "$release" ] || die "$1" "Release field not found in version file"
[ -x build ] || die "$1" "Build file not found or not executable"
[ -f sources ] || war "$1" "Sources file not found"
[ -s version ] || die "$1" "Version file not found or empty"
[ ! -f sources ] || [ "$2" ] || [ -f checksums ] ||