summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-10-06 13:59:18 +0200
committerErich Eckner <git@eckner.net>2016-10-06 13:59:18 +0200
commit19c37930b92507c69660e6d249bf193d8fcd240c (patch)
treee0da4a8328a57cf0d936e23e79f5b2f41f9e130c
parent51ed4ac52d109abe8b674bbda2a8a2599ead1e27 (diff)
downloadarchlinuxewe.git.save-19c37930b92507c69660e6d249bf193d8fcd240c.tar.xz
checkVersions kann jetzt auch scidavis
-rwxr-xr-xcheckVersions7
1 files 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 | \