common/xbps-src/shutils/update_check.sh: ignore pkgs without distfiles

unless they use the update override file
This commit is contained in:
classabbyamp 2022-08-29 14:37:27 -04:00 committed by classabbyamp
parent 459f6c4056
commit e409ea0c81

View file

@ -13,6 +13,11 @@ update_check() {
if [ "$XBPS_UPDATE_CHECK_VERBOSE" ]; then
echo "using $XBPS_TARGET_PKG/update overrides" 1>&2
fi
elif [ -z "$distfiles" ]; then
if [ "$XBPS_UPDATE_CHECK_VERBOSE" ]; then
echo "NO DISTFILES found for $original_pkgname" 1>&2
fi
return 0
fi
if ! type curl >/dev/null 2>&1; then