common/xbps-src/shutils/update_check.sh: also work for subpackages

closes #36190
This commit is contained in:
tibequadorian
2022-03-17 18:15:03 +01:00
committed by classabbyamp
parent b29198efab
commit 23e9d95be6

View File

@@ -4,6 +4,7 @@ update_check() {
local i p url pkgurlname rx found_version consider
local update_override=$XBPS_SRCPKGDIR/$XBPS_TARGET_PKG/update
local original_pkgname=$pkgname
local pkgname=$sourcepkg
local urlpfx urlsfx
local -A fetchedurls