summaryrefslogtreecommitdiff
path: root/checkVersions
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-12-19 09:37:32 +0100
committerErich Eckner <git@eckner.net>2018-12-29 14:26:03 +0100
commitc5d390ea25166044e4d82090e0b21df9e9414e4f (patch)
tree8da35aa3b078c6808664f2c24648ff705de4d9f8 /checkVersions
parent767cfdb2a9545b5181fa4704c9bf7e47cffe1102 (diff)
downloadarchlinuxewe-c5d390ea25166044e4d82090e0b21df9e9414e4f.tar.xz
checkVersions: kennt jetzt auch ssacli
Diffstat (limited to 'checkVersions')
-rwxr-xr-xcheckVersions23
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=$(