diff options
author | Erich Eckner <git@eckner.net> | 2017-01-10 12:59:28 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-01-10 14:58:58 +0100 |
commit | 2a05a3d9aecd8298b13780ee846ee3ab9300897c (patch) | |
tree | fb5001bd0f9e88546a458ffda352ef30e96d9742 /checkVersions | |
parent | 6bfbe2d76ef9f2f1ce1d8b9318ee524f197c6573 (diff) | |
download | archlinuxewe-2a05a3d9aecd8298b13780ee846ee3ab9300897c.tar.xz |
checkVersions kann jetzt auch bitbucket
Diffstat (limited to 'checkVersions')
-rwxr-xr-x | checkVersions | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/checkVersions b/checkVersions index 3afdb0611..99b8bf7aa 100755 --- a/checkVersions +++ b/checkVersions @@ -367,19 +367,6 @@ then sed "s|^r\([[:digit:]]\+\)\s.*\$|\1|" \ ) elif echo "${src}" | \ - grep -q "https\?://\(\(bindfs\|qgis\|download\.osgeo\|www\.\(iozone\|wurzel\)\)\.org\|ftp\.daper\.net\|www\.\(cybernoia\.de\|phy\.duke\.edu\)\|isl\.gforge\.inria\.fr\)/" - 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@" | \ - tr '_' '.' | \ - sort -V | \ - tail -n1 - )" - elif echo "${src}" | \ grep -q 'https://bitbucket\.org/.*/get/[^/]\+$' then srcPreNam="$( @@ -401,6 +388,19 @@ 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\)/" + 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@" | \ + tr '_' '.' | \ + sort -V | \ + tail -n1 + )" + elif echo "${src}" | \ grep -q '^http://paraview.org/files/' then remVerz="$( |