aboutsummaryrefslogtreecommitdiff
path: root/kiss
diff options
context:
space:
mode:
authorherdiansyah@netc.eu <herdiansyah@netc.eu>2019-06-19 13:45:57 +0000
committerherdiansyah@netc.eu <herdiansyah@netc.eu>2019-06-19 13:45:57 +0000
commit3effb9f98ce7e089f8acf7e1d8c1f79b5107a83e (patch)
tree3535fc8399025341f50b8c1b6f45591e29a9abba /kiss
parentac23b5f3db1ac9319998a3ab3ca540ef0565a046 (diff)
downloadcpt-3effb9f98ce7e089f8acf7e1d8c1f79b5107a83e.tar.gz
kiss: add licenses file check
FossilOrigin-Name: 28d69b5d9250416cef5f3f6c0a05201dce4199b4f968500211839004b8c692b4
Diffstat (limited to 'kiss')
-rwxr-xr-xkiss1
1 files changed, 1 insertions, 0 deletions
diff --git a/kiss b/kiss
index b0ead37..bdfccf6 100755
--- a/kiss
+++ b/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