diff options
author | Joshua Ismael Haase Hernandez <hahj87@gmail.com> | 2011-05-26 10:49:59 -0500 |
---|---|---|
committer | Joshua Ismael Haase Hernandez <hahj87@gmail.com> | 2011-05-26 10:49:59 -0500 |
commit | 60319e77ba39b9f713dc14dcd1fbb500e39f7325 (patch) | |
tree | b0576726874641c7af0fa2efe321e5c57b518f68 | |
parent | 2d16cd342cc654a82d374dcff538da0e21e24dca (diff) |
* fullpkg-ng check nonfree on pkgbuild
* pkgbuild-check-nonfree does not return error when libre replacement is found
-rwxr-xr-x | fullpkg-ng | 1 | ||||
-rwxr-xr-x | pkgbuild-check-nonfree | 3 |
2 files changed, 1 insertions, 3 deletions
@@ -276,6 +276,7 @@ while [ ${#build_packages[@]} -gt 0 ]; do check_queue && update_queue || { warning "Couldn't update the queue, let your partners know about this." } + pkgbuild-check-nonfree || break $FULLBUILDCMD; r=$? case $r in 0) plain "The build was succesful." diff --git a/pkgbuild-check-nonfree b/pkgbuild-check-nonfree index 7f04787..774c72f 100755 --- a/pkgbuild-check-nonfree +++ b/pkgbuild-check-nonfree @@ -64,9 +64,6 @@ for item in ${pkgname[@]} ${depends[@]} ${makedepends[@]} ; do # if item has a free replacement, use error 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" |