From 19c37930b92507c69660e6d249bf193d8fcd240c Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 6 Oct 2016 13:59:18 +0200 Subject: checkVersions kann jetzt auch scidavis --- checkVersions | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/checkVersions b/checkVersions index 9ed6b94f..6ebe033c 100755 --- a/checkVersions +++ b/checkVersions @@ -307,14 +307,15 @@ then tail -n1 \ ) elif echo "${src}" | \ - grep -q "//\(downloads\.\)\?sourceforge\.net/" + grep -q "//\(\(pr\)\?downloads\.\)\?sourceforge\.net/" then quVer=$( \ echo "${src}" | \ sed 's|/sourceforge/|/|' | \ sed 's|\(//sourceforge\.net/.*/\)[^/]*/[^/]*$|\1|' | \ - sed "s|//downloads\.sourceforge\.net/\([^/]*\)/[^/]*\$|//sourceforge.net/projects/\1/files/\1/|" | \ - sed "s|^http:|https:|" + sed "s|//\(pr\)\?downloads\.sourceforge\.net/\([^/]*\)/[^/]*\$|//sourceforge.net/projects/\2/files/\2/|" | \ + sed 's|/scidavis/$|/SciDAVis/|' | \ + sed 's|^http:|https:|' ) remVer=$( \ curl "${quVer}" 2> /dev/null | \ -- cgit v1.2.3-70-g09d2