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
No known key found for this signature in database
GPG Key ID: 6BE0755918A4C7F5
1 changed files with 1 additions and 0 deletions

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