kiss: add licenses file check

This commit is contained in:
Muhammad Herdiansyah 2019-06-19 20:45:37 +07:00
parent 3f0d5b931b
commit bcc848c6f1

1
kiss
View File

@ -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