addressing feedback

This commit is contained in:
Toni Noble 2021-10-26 10:52:27 -04:00
commit 7090b371b5

View file

@ -177,7 +177,9 @@ download_url () {
echo "${CDN_URL}/opensuse-42/pkgs/${name}"
;;
"LEAP15" | "SLES15")
if [ "${ver}" -ge 152 ]; then
if [ "${ver}" -ge 153 ]; then
echo "${CDN_URL}/opensuse-153/pkgs/${name}"
elif [ "${ver} -eq 152 ]; then
echo "${CDN_URL}/opensuse-152/pkgs/${name}"
else
echo "${CDN_URL}/opensuse-15/pkgs/${name}"