common/xbps-src/shutils/update_check.sh: early return for disabled update checks

This commit is contained in:
icp 2023-09-09 01:39:14 +05:30 committed by classabbyamp
parent b958d1d87d
commit b544a09b7b

View File

@ -15,6 +15,7 @@ update_check() {
fi
if [ -n "$disabled" ]; then
echo "update-check DISABLED for $original_pkgname: $disabled" 1>&2
return 0
fi
elif [ -z "$distfiles" ]; then
if [ "$XBPS_UPDATE_CHECK_VERBOSE" ]; then