diff options
-rwxr-xr-x | src/aur | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -87,11 +87,12 @@ main() { ################################################################ - if ! pkgbuild-check-nonfree; then - if [[ $? = 15 ]]; then - warning "This PKGBUILD links to known unfree packages" - fi - fi + pkgbuild-check-nonfree + case $? in + 0) :;; + 15) warning "This PKGBUILD links to known unfree packages";; + *) warning "pkgbuild-check-nonfree failed to run";; + esac ################################################################ |