diff --git a/openvpn-install.sh b/openvpn-install.sh index 806d147..e99d78c 100755 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -55,7 +55,7 @@ function checkOS() { if [[ $ID == "fedora" || $ID_LIKE == "fedora" ]]; then OS="fedora" fi - if [[ $ID == "centos" ]]; then + if [[ $ID == "centos" || $ID == "rocky" ]]; then OS="centos" if [[ ! $VERSION_ID =~ (7|8) ]]; then echo "⚠️ Your version of CentOS is not supported."