diff options
author | Erich Eckner <git@eckner.net> | 2019-01-03 10:25:30 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-01-03 10:25:30 +0100 |
commit | 9378a035f5f96264de6477af25b4f9dd33b50eba (patch) | |
tree | 1856882547f4a5ae90eb0b3831933ddff3a1efb0 /checkVersions | |
parent | f37fd3c3a4649b51cb5845943b83fbcc717b6c4d (diff) | |
download | archlinuxewe.git.save-9378a035f5f96264de6477af25b4f9dd33b50eba.tar.xz |
newVer -> remVer
Diffstat (limited to 'checkVersions')
-rwxr-xr-x | checkVersions | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/checkVersions b/checkVersions index f4832453..c22814eb 100755 --- a/checkVersions +++ b/checkVersions @@ -192,7 +192,8 @@ then p ' "${pkgname}/PKGBUILD" )" - elif [ "${pkgname}" = 'ssacli' ]; then + elif echo "${src}" | \ + grep -qF '/ssacli-'; then centosVer=$( curl_it "${src%/*/*/*/*}/" | \ tr '"' '\n' | \ @@ -204,7 +205,7 @@ then sort -V | \ tail -n1 ) - newVer=$( + remVer=$( curl_it "${src%/*/*/*/*}/${centosVer}/x86_64/current/" | \ tr '"' '\n' | \ sed ' |