Skip to content

Commit

Permalink
Merge branch 'master' into enhancement/2688-support-al-2023
Browse files Browse the repository at this point in the history
  • Loading branch information
davidcr01 authored Jan 25, 2024
2 parents 7a7d90a + 4790424 commit 2f8704e
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions unattended_installer/install_functions/checks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -206,13 +206,18 @@ function check_dist() {
if { [ "${DIST_NAME}" == "centos" ] || [ "${DIST_NAME}" == "rhel" ]; } && { [ "${DIST_VER}" -ne "7" ] && [ "${DIST_VER}" -ne "8" ] && [ "${DIST_VER}" -ne "9" ]; }; then
notsupported=1
fi
if [ "${DIST_NAME}" == "amzn" ] && [ "${DIST_VER}" -ne "2" ]; then
notsupported=1

if [ "${DIST_NAME}" == "amzn" ]; then
if [ "${DIST_VER}" != "2" ] &&
[ "${DIST_VER}" != "2023" ] &&
[ "${DIST_VER}" != "2018.03" ]; then
notsupported=1
fi
if [ "${DIST_VER}" -eq "2023" ]; then
checks_specialDepsAL2023
fi
fi

if [ "${DIST_NAME}" == "ubuntu" ]; then
if [ "${DIST_VER}" == "16" ] || [ "${DIST_VER}" == "18" ] ||
[ "${DIST_VER}" == "20" ] || [ "${DIST_VER}" == "22" ]; then
Expand Down

0 comments on commit 2f8704e

Please sign in to comment.