From e409ea0c8102de6edce83865b03b6bc32e6adb27 Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Mon, 29 Aug 2022 14:37:27 -0400 Subject: [PATCH] common/xbps-src/shutils/update_check.sh: ignore pkgs without distfiles unless they use the update override file --- common/xbps-src/shutils/update_check.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/common/xbps-src/shutils/update_check.sh b/common/xbps-src/shutils/update_check.sh index e7193c98ffa..85e419cb81a 100644 --- a/common/xbps-src/shutils/update_check.sh +++ b/common/xbps-src/shutils/update_check.sh @@ -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