summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpkgbuild-check-nonfree7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgbuild-check-nonfree b/pkgbuild-check-nonfree
index 53338b3..42a618b 100755
--- a/pkgbuild-check-nonfree
+++ b/pkgbuild-check-nonfree
@@ -39,6 +39,13 @@ a=($(cut -d: -f1 blacklist.txt))
source /etc/rc.d/functions
source $dir/PKGBUILD
+for item in ${pkgname[@]}; do
+ if in_array $item ${a[@]}; then
+ echo "$item itself is non free"
+ ev=15
+ fi
+done
+
echo "Looking for non-free dependancies:"
echo "Found in «depends»:"