From c5d390ea25166044e4d82090e0b21df9e9414e4f Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 19 Dec 2018 09:37:32 +0100 Subject: checkVersions: kennt jetzt auch ssacli --- checkVersions | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'checkVersions') 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=$( -- cgit v1.2.3-70-g09d2