common/xbps-src/shutils/update_check.sh: early return for disabled update checks
This commit is contained in:
@@ -15,6 +15,7 @@ update_check() {
|
|||||||
fi
|
fi
|
||||||
if [ -n "$disabled" ]; then
|
if [ -n "$disabled" ]; then
|
||||||
echo "update-check DISABLED for $original_pkgname: $disabled" 1>&2
|
echo "update-check DISABLED for $original_pkgname: $disabled" 1>&2
|
||||||
|
return 0
|
||||||
fi
|
fi
|
||||||
elif [ -z "$distfiles" ]; then
|
elif [ -z "$distfiles" ]; then
|
||||||
if [ "$XBPS_UPDATE_CHECK_VERBOSE" ]; then
|
if [ "$XBPS_UPDATE_CHECK_VERBOSE" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user