summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernández <hahj87@gmail.com>2010-10-19 15:02:27 -0500
committerJoshua Ismael Haase Hernández <hahj87@gmail.com>2010-10-19 15:02:27 -0500
commit7a7601e432ae6103d2dd873690005385db8189a6 (patch)
treec2e873bc32b18ad8016a787b22ea37085c80aaff
parentc00f7d2c2f5f45c06b3339ed26d47416ff31fadb (diff)
Added a check for pkgname
-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»:"