add second parentheses

This commit is contained in:
blakeflei 2025-03-06 14:43:10 -05:00
parent bf7008a526
commit 0369f0fb82

View File

@ -77,7 +77,7 @@ function checkOS() {
if [[ $ID == "amzn" ]]; then if [[ $ID == "amzn" ]]; then
if [[ $VERSION_ID == "2" ]]; then if [[ $VERSION_ID == "2" ]]; then
OS="amzn" OS="amzn"
elif [ "$(echo $PRETTY_NAME | cut -c 1-19)" == "Amazon Linux 2023.6" ]; then elif [[ "$(echo $PRETTY_NAME | cut -c 1-19)" == "Amazon Linux 2023.6" ]]; then
OS="amzn2023" OS="amzn2023"
else else
echo "⚠️ Your version of Amazon Linux is not supported." echo "⚠️ Your version of Amazon Linux is not supported."