common/xbps-src/shutils/update_check.sh: ignore pkgs without distfiles
unless they use the update override file
This commit is contained in:
parent
459f6c4056
commit
e409ea0c81
1 changed files with 5 additions and 0 deletions
|
@ -13,6 +13,11 @@ update_check() {
|
||||||
if [ "$XBPS_UPDATE_CHECK_VERBOSE" ]; then
|
if [ "$XBPS_UPDATE_CHECK_VERBOSE" ]; then
|
||||||
echo "using $XBPS_TARGET_PKG/update overrides" 1>&2
|
echo "using $XBPS_TARGET_PKG/update overrides" 1>&2
|
||||||
fi
|
fi
|
||||||
|
elif [ -z "$distfiles" ]; then
|
||||||
|
if [ "$XBPS_UPDATE_CHECK_VERBOSE" ]; then
|
||||||
|
echo "NO DISTFILES found for $original_pkgname" 1>&2
|
||||||
|
fi
|
||||||
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! type curl >/dev/null 2>&1; then
|
if ! type curl >/dev/null 2>&1; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue