summaryrefslogtreecommitdiff
path: root/checkVersions
diff options
context:
space:
mode:
Diffstat (limited to 'checkVersions')
-rwxr-xr-xcheckVersions6
1 files changed, 3 insertions, 3 deletions
diff --git a/checkVersions b/checkVersions
index f8779cce4..1040fc13e 100755
--- a/checkVersions
+++ b/checkVersions
@@ -610,7 +610,7 @@ then
quVer=$(
echo "${src#*::}" | \
sed '
- s|/archive/[^/]*$|/releases|
+ s|/archive/\(Release/\)\?[^/]*$|/releases|
s|/download/[^/]*/[^/]*$||
s|http:|https:|
'
@@ -623,8 +623,8 @@ then
curl_it "${quVer}" | \
tr "\"" "\n" | \
tr '[[:upper:]]' '[[:lower:]]' | \
- grep "^${quNam}v\?[0-9.]\+\$" | \
- sed "s|^${quNam}v\?||" | \
+ grep "^${quNam}\(v\|release%2f\|\)[0-9.]\+\$" | \
+ sed "s@^${quNam}\(v\|release%2f\|\)@@" | \
(
if [ "${pkgname}" == "conky-irc" ]
then