From 7a7601e432ae6103d2dd873690005385db8189a6 Mon Sep 17 00:00:00 2001 From: Joshua Ismael Haase Hernández Date: Tue, 19 Oct 2010 15:02:27 -0500 Subject: Added a check for pkgname --- pkgbuild-check-nonfree | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'pkgbuild-check-nonfree') 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»:" -- cgit v1.2.3-54-g00ecf