summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcheckVersions5
1 files changed, 3 insertions, 2 deletions
diff --git a/checkVersions b/checkVersions
index 4d76aba5..e87e0cba 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
' \