From e2e58b20b3e962f186ab7556b3a20ca559593724 Mon Sep 17 00:00:00 2001 From: Safa Bayar Date: Thu, 17 Oct 2019 22:48:21 -0400 Subject: [PATCH] Correctness centos version --- openvpn-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openvpn-install.sh b/openvpn-install.sh index 45615cd..441634c 100755 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -54,7 +54,7 @@ function checkOS () { source /etc/os-release if [[ "$ID" = "centos" ]]; then OS="centos" - if [[ ! $VERSION_ID == "7" ]]; then + if [[ ! $VERSION_ID ~= "7|8" ]]; then echo "⚠️ Your version of CentOS is not supported." echo "" echo "The script only support CentOS 7."