forked from kiss-community/kiss
kiss: Show warning when sources file is missing
This commit is contained in:
parent
3e004b193a
commit
f18a4c339d
1
kiss
1
kiss
@ -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 ] ||
|
||||
|
Loading…
Reference in New Issue
Block a user