common/xbps-src/shutils/update_check.sh: early return for disabled update checks
This commit is contained in:
parent
b958d1d87d
commit
b544a09b7b
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue