From b544a09b7b8d984513c1fae4cbb56d16acbc0b11 Mon Sep 17 00:00:00 2001 From: icp Date: Sat, 9 Sep 2023 01:39:14 +0530 Subject: [PATCH] common/xbps-src/shutils/update_check.sh: early return for disabled update checks --- common/xbps-src/shutils/update_check.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/common/xbps-src/shutils/update_check.sh b/common/xbps-src/shutils/update_check.sh index 88276410057..f38f384bd2b 100644 --- a/common/xbps-src/shutils/update_check.sh +++ b/common/xbps-src/shutils/update_check.sh @@ -15,6 +15,7 @@ update_check() { fi if [ -n "$disabled" ]; then echo "update-check DISABLED for $original_pkgname: $disabled" 1>&2 + return 0 fi elif [ -z "$distfiles" ]; then if [ "$XBPS_UPDATE_CHECK_VERBOSE" ]; then