forked from kiss-community/kiss
kiss: add licenses file check
This commit is contained in:
parent
3f0d5b931b
commit
bcc848c6f1
1
kiss
1
kiss
@ -41,6 +41,7 @@ pkg_setup() {
|
||||
cd "$rep_dir/$1" || die "'$rep_dir/$1' not accessible"
|
||||
[ -f sources ] || die "Sources file not found."
|
||||
[ -x build ] || die "Build file not found or not executable."
|
||||
[ -f licenses ] || die "License file not found or empty."
|
||||
|
||||
read -r ver rel < version || die "Version file not found."
|
||||
pkg=${name:=$1}\#$ver-$rel.tar.gz
|
||||
|
Loading…
Reference in New Issue
Block a user