common/xbps-src/shutils/update_check: add ability to disable update-check
useful for cases where update checking does not make sense or is impossible
This commit is contained in:
parent
0192981922
commit
95ed99c92d
2 changed files with 7 additions and 0 deletions
|
@ -13,6 +13,9 @@ update_check() {
|
|||
if [ "$XBPS_UPDATE_CHECK_VERBOSE" ]; then
|
||||
echo "using $XBPS_TARGET_PKG/update overrides" 1>&2
|
||||
fi
|
||||
if [ -n "$disabled" ]; then
|
||||
echo "update-check DISABLED for $original_pkgname: $disabled" 1>&2
|
||||
fi
|
||||
elif [ -z "$distfiles" ]; then
|
||||
if [ "$XBPS_UPDATE_CHECK_VERBOSE" ]; then
|
||||
echo "NO DISTFILES found for $original_pkgname" 1>&2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue