From 038f92114d5a056e966b530c68f38a7676a7abbf 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 ec53ed9f38e6..dfac386347ba 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