diff options
author | Erich Eckner <git@eckner.net> | 2018-12-19 09:37:32 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-12-29 14:26:03 +0100 |
commit | c5d390ea25166044e4d82090e0b21df9e9414e4f (patch) | |
tree | 8da35aa3b078c6808664f2c24648ff705de4d9f8 /checkVersions | |
parent | 767cfdb2a9545b5181fa4704c9bf7e47cffe1102 (diff) | |
download | archlinuxewe-c5d390ea25166044e4d82090e0b21df9e9414e4f.tar.xz |
checkVersions: kennt jetzt auch ssacli
Diffstat (limited to 'checkVersions')
-rwxr-xr-x | checkVersions | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/checkVersions b/checkVersions index efbe3dcdb..dd534c677 100755 --- a/checkVersions +++ b/checkVersions @@ -169,6 +169,29 @@ then p ' "${pkgname}/PKGBUILD" )" + elif [ "${pkgname}" = 'ssacli' ]; then + centosVer=$( + curl_it "${src%/*/*/*/*}/" | \ + tr '"' '\n' | \ + sed ' + s,^\([0-9]\+\)/$,\1, + t + d + ' | \ + sort -V | \ + tail -n1 + ) + newVer=$( + curl_it "${src%/*/*/*/*}/${centosVer}/x86_64/current/" | \ + tr '"' '\n' | \ + sed ' + s,^ssacli-\([0-9.]\+\)-\([0-9.]\+\)\.x86_64\.rpm$,\1_\2, + t + d + ' | \ + sort -V | \ + tail -n1 + ) elif [ "${pkgname}" = 'adduser' ] then remVer=$( |