diff options
Diffstat (limited to 'checkVersions')
-rwxr-xr-x | checkVersions | 6 |
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 |