summaryrefslogtreecommitdiff
path: root/pkgbuild-check-nonfree
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-04-30 05:53:38 -0500
committerJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-04-30 05:53:38 -0500
commit8fd5887191e11e0ee64272991a8c5fc6c7636524 (patch)
tree2e0fbee8e4ce82941481fb7220c69d8d9a9efbe8 /pkgbuild-check-nonfree
parentf33f1f0ed91fb33e7681291f7f6b260447fcfb86 (diff)
* libremakepkg optionaly uses a chroot different from $CHCOPY
* libremakepkg cleaning and mkarchroot update is optional * librerepkg uses -cu flags for libremakepkg
Diffstat (limited to 'pkgbuild-check-nonfree')
-rwxr-xr-xpkgbuild-check-nonfree8
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgbuild-check-nonfree b/pkgbuild-check-nonfree
index 67c562d..7f04787 100755
--- a/pkgbuild-check-nonfree
+++ b/pkgbuild-check-nonfree
@@ -62,12 +62,14 @@ for item in ${pkgname[@]} ${depends[@]} ${makedepends[@]} ; do
# they are in the `unfree' array.
if in_array $item ${unfree[@]} ; then
# if item has a free replacement, use error 16.
- if in_array $item-libre ${freerep[@]} and [[ $ev -ne 15 ]] ; then
- ev=16
+ if in_array $item-libre ${freerep[@]} ; then
warning "$item -> $item-libre"
+ if [[ $ev -ne 15 ]]; then
+ ev=16
+ fi
else
ev=15
- msg2 "found $item"
+ msg2 "found $item"
fi
fi
done