diff options
Diffstat (limited to 'pkgbuild-check-nonfree')
-rwxr-xr-x | pkgbuild-check-nonfree | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgbuild-check-nonfree b/pkgbuild-check-nonfree index 6f365e3..bd6fa4b 100755 --- a/pkgbuild-check-nonfree +++ b/pkgbuild-check-nonfree @@ -111,7 +111,7 @@ function check_deps { # Check wheter a package depends on non-free return 1 # not PKGBUILD fi - msg "${pkgbase:-${pkgname[0]}} $pkgver $pkgrel ${epoch:-""}" # > "$logpipe" + msg2 "${pkgbase:-${pkgname[0]}} $pkgver $pkgrel ${epoch:-""}" # > "$logpipe" for pkg in ${pkgname[@]} ${depends[@]} ${makedepends[@]} ${checkdepends[@]}; do @@ -128,10 +128,10 @@ function check_deps { # Check wheter a package depends on non-free elif [ -n "$rep" ]; then if [ "$rep" = "$pkg" ]; then - msg2 "$pkg is repackaged with the same name." # > "$logpipe" + plain "$pkg is repackaged with the same name." # > "$logpipe" continue else - msg2 "$pkg -> $rep" # > "$logpipe" + plain "$pkg -> $rep" # > "$logpipe" continue fi @@ -188,7 +188,7 @@ shift $(( OPTIND - 1)) msg "Looking for unfree dependencies" -if [ $# -gt 1 ]; then +if [ $# -ge 1 ]; then for p in $@; do if [ -n "$p" ]; then |