mirror of
https://github.com/angristan/openvpn-install.git
synced 2024-11-21 16:29:04 +01:00
Add support for Rocky Linux 8 (#869)
This commit is contained in:
parent
2ab48f2265
commit
1d55f856ae
@ -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."
|
||||
|
Loading…
Reference in New Issue
Block a user