From 1d55f856ae8896248c994dafc18a7a34808b66b5 Mon Sep 17 00:00:00 2001 From: derek-j-pitman <70220747+derek-j-pitman@users.noreply.github.com> Date: Tue, 6 Jul 2021 04:53:12 -0400 Subject: [PATCH] Add support for Rocky Linux 8 (#869) --- openvpn-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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."