mirror of
https://github.com/angristan/openvpn-install.git
synced 2025-10-28 04:37:36 +01:00
add second parentheses
This commit is contained in:
@@ -77,7 +77,7 @@ function checkOS() {
|
||||
if [[ $ID == "amzn" ]]; then
|
||||
if [[ $VERSION_ID == "2" ]]; then
|
||||
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"
|
||||
else
|
||||
echo "⚠️ Your version of Amazon Linux is not supported."
|
||||
|
||||
Reference in New Issue
Block a user