common: drop 0/no logic from XBPS_{CHECK_PKGS,BUILD_ONLY_ONE_PKG}

use the common convention as described in etc/defaults.conf
This commit is contained in:
Michael Gehring 2017-11-20 14:17:34 +00:00
parent cec03d6b73
commit 9ffc64e20c
4 changed files with 7 additions and 7 deletions

View file

@ -27,7 +27,7 @@ if [ -n "$XBPS_CROSS_BUILD" ]; then
exit 0
fi
if [ -z "$XBPS_CHECK_PKGS" -o "$XBPS_CHECK_PKGS" = "0" -o "$XBPS_CHECK_PKGS" = "no" ]; then
if [ -z "$XBPS_CHECK_PKGS" ]; then
msg_normal "${pkgname}-${version}_${revision}: skipping check (XBPS_CHECK_PKGS is disabled) ...\n"
exit 0
fi