summaryrefslogtreecommitdiff
path: root/checkVersions
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-09-14 09:49:00 +0200
committerErich Eckner <git@eckner.net>2020-09-14 09:49:00 +0200
commitdb066500c9343c74694134a56c9039c4d7859a5f (patch)
treec5968c6fe4808aa6a9bad33de92b0ad28502e698 /checkVersions
parent96761332a7fa5d8e135bc72a1938ff67911f0e2b (diff)
downloadarchlinuxewe-db066500c9343c74694134a56c9039c4d7859a5f.tar.xz
checkVersions: learn glib2-static
Diffstat (limited to 'checkVersions')
-rwxr-xr-xcheckVersions5
1 files changed, 3 insertions, 2 deletions
diff --git a/checkVersions b/checkVersions
index 4d76aba54..e87e0cba2 100755
--- a/checkVersions
+++ b/checkVersions
@@ -1005,7 +1005,8 @@ then
grep -qF "$(
printf '%s\n' \
'https://www.kernel.org/pub/linux/utils/cryptsetup' \
- 'https://archive.apache.org/'
+ 'https://archive.apache.org/' \
+ 'http://ftp.gnome.org/pub/gnome/sources/glib/'
)"; then
fileName=$(
printf '%s\n' "${src}" \
@@ -1017,7 +1018,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
' \