summaryrefslogtreecommitdiff
path: root/checkVersions
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2021-03-24 11:43:43 +0100
committerErich Eckner <git@eckner.net>2021-03-24 11:43:43 +0100
commit23fda31fcba0c2e850261f50e861f43783749dbd (patch)
tree745737ff2f3baeb1da97c7538a96c81a57099d87 /checkVersions
parentb47fe7b4ea4fdc2d68cd1df26be867cd4a65492d (diff)
downloadarchlinuxewe-23fda31fcba0c2e850261f50e861f43783749dbd.tar.xz
checkVersions: gnome.org made the links fancier - we need to adopt the regex
Diffstat (limited to 'checkVersions')
-rwxr-xr-xcheckVersions4
1 files changed, 2 insertions, 2 deletions
diff --git a/checkVersions b/checkVersions
index eb276b0be..b8717d313 100755
--- a/checkVersions
+++ b/checkVersions
@@ -1051,7 +1051,7 @@ then
for mainVer in $(
curl_it -L "${src%/*/*}/" \
| sed '
- s@^.*<a href="\(\(v\|'"${fileName}"'-\)\?[0-9.]\+\)/">\1/</a>.*$@\1@
+ s@^.*<a href="\(\(v\|'"${fileName}"'-\)\?[0-9.]\+\)/"\( [^>]\+\)\?>\1/</a>.*$@\1@
t
d
' \
@@ -1060,7 +1060,7 @@ then
remVer=$(
curl_it -L "${src%/*/*}/${mainVer}/" \
| sed '
- s@^.*<a href="\('"${fileName}"'-\([0-9.]\+\)\.t\(ar\.\)\?\(gz\|bz2\|xz\)\)">\1</a>.*$@\2@
+ s@^.*<a href="\('"${fileName}"'-\([0-9.]\+\)\.t\(ar\.\)\?\(gz\|bz2\|xz\)\)"\( [^>]\+\)\?>\1</a>.*$@\2@
t
d
' \