summaryrefslogtreecommitdiff
path: root/checkVersions
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-06-11 21:02:46 +0200
committerErich Eckner <git@eckner.net>2017-06-11 21:23:39 +0200
commit74a63b4de97e38ce71e1f3c5df191d3519a67bbb (patch)
tree17deefa332444d6f9f9be732952742018659116a /checkVersions
parent42b460141f710093ebe19a43504732cee6e9e865 (diff)
downloadarchlinuxewe-74a63b4de97e38ce71e1f3c5df191d3519a67bbb.tar.xz
checkVersions: kennt jetzt auch alpine (und tar.xz)
Diffstat (limited to 'checkVersions')
-rwxr-xr-xcheckVersions8
1 files changed, 4 insertions, 4 deletions
diff --git a/checkVersions b/checkVersions
index c9b69e97e..486616862 100755
--- a/checkVersions
+++ b/checkVersions
@@ -423,20 +423,20 @@ then
tail -n1
)"
elif echo "${src}" | \
- grep -q "https\?://\(\(bitbucket\|bindfs\|qgis\|download\.osgeo\|www\.\(iozone\|wurzel\)\)\.org\|ftp\.daper\.net\|www\.\(cybernoia\.de\|phy\.duke\.edu\)\|isl\.gforge\.inria\.fr\)/"
+ grep -q "https\?://\(\(bitbucket\|bindfs\|qgis\|download\.osgeo\|www\.\(iozone\|wurzel\)\)\.org\|ftp\.daper\.net\|www\.\(cybernoia\.de\|phy\.duke\.edu\)\|isl\.gforge\.inria\.fr\|alpine\.freeiz.com\)/"
then
quVer="${src%/*}/"
remVer="$( \
curl "${quVer}" 2> /dev/null | \
tr '"<>' '\n\n\n' | \
- grep "^${pkgname}\(-src\)\?-\?[0-9._]\+\.t\(ar\(\.gz\|\.bz2\)\?\|gz\)\$" | \
- sed "s@^${pkgname}\(-src\)\?-\?\([0-9._]\+\)\.t\(ar\(\.gz\|\.bz2\)\?\|gz\)\$@\2@" | \
+ grep "^${pkgname}\(-src\)\?-\?[0-9._]\+\.t\(ar\(\.[gx]z\|\.bz2\)\?\|gz\)\$" | \
+ sed "s@^${pkgname}\(-src\)\?-\?\([0-9._]\+\)\.t\(ar\(\.[gx]z\|\.bz2\)\?\|gz\)\$@\2@" | \
tr '_' '.' | \
sort -V | \
tail -n1
)"
elif echo "${src}" | \
- grep -q '^https://www\.paraview\.org/files/'
+ grep -q '^https\?://\(www\.\)\?paraview\.org/files/'
then
remVerz="$(
echo "${src}" | \