update_check.sh: remove v from the detected version match group
This commit is contained in:
parent
1abc238316
commit
e4b9e4a04a
@ -144,7 +144,7 @@ update_check() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
rx=${pattern:-$rx}
|
rx=${pattern:-$rx}
|
||||||
rx=${rx:-'(?<!-)\b\Q'"$pkgname"'\E[-_]?((src|source)[-_])?\K([^-/_\s]*?\d[^-/_\s]*?)(?=(?:[-_.](?:src|source|orig))?\.(?:[jt]ar|shar|t[bglx]z|tbz2|zip))\b'}
|
rx=${rx:-'(?<!-)\b\Q'"$pkgname"'\E[-_]?((src|source)[-_])?v?\K([^-/_\s]*?\d[^-/_\s]*?)(?=(?:[-_.](?:src|source|orig))?\.(?:[jt]ar|shar|t[bglx]z|tbz2|zip))\b'}
|
||||||
|
|
||||||
if [ "${fetchedurls[$url]}" ]; then
|
if [ "${fetchedurls[$url]}" ]; then
|
||||||
if [ -n "$XBPS_UPDATE_CHECK_VERBOSE" ]; then
|
if [ -n "$XBPS_UPDATE_CHECK_VERBOSE" ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user