diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-05-29 21:36:55 -0600 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-06-05 19:44:27 -0600 |
commit | 01b1059331fd7d85bc25e5a9c049216ce74eb877 (patch) | |
tree | a8e671d554f19cdee56f7165d662b49e7ced5bd5 | |
parent | 2a10613b5ffd2118cc9302e02942f53d63eff121 (diff) |
aur: report if pkgbuild-check-nonfree failed
-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 ################################################################ |