diff options
author | Joshua Ismael Haase Hernández <hahj87@gmail.com> | 2010-10-19 15:02:27 -0500 |
---|---|---|
committer | Joshua Ismael Haase Hernández <hahj87@gmail.com> | 2010-10-19 15:02:27 -0500 |
commit | 7a7601e432ae6103d2dd873690005385db8189a6 (patch) | |
tree | c2e873bc32b18ad8016a787b22ea37085c80aaff | |
parent | c00f7d2c2f5f45c06b3339ed26d47416ff31fadb (diff) |
Added a check for pkgname
-rwxr-xr-x | pkgbuild-check-nonfree | 7 |
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»:" |