mirror of
https://github.com/hwdsl2/openvpn-install.git
synced 2026-01-10 18:36:17 +00:00
Update OS support
- Remove CentOS 7, which reached EOL on June 30, 2024.
This commit is contained in:
@@ -88,9 +88,11 @@ This version of Ubuntu is too old and unsupported."
|
|||||||
exiterr "Debian 10 or higher is required to use this installer.
|
exiterr "Debian 10 or higher is required to use this installer.
|
||||||
This version of Debian is too old and unsupported."
|
This version of Debian is too old and unsupported."
|
||||||
fi
|
fi
|
||||||
if [[ "$os" == "centos" && "$os_version" -lt 7 ]]; then
|
if [[ "$os" == "centos" && "$os_version" -lt 8 ]]; then
|
||||||
exiterr "CentOS 7 or higher is required to use this installer.
|
if ! grep -qs "Amazon Linux release 2 " /etc/system-release; then
|
||||||
|
exiterr "CentOS 8 or higher is required to use this installer.
|
||||||
This version of CentOS is too old and unsupported."
|
This version of CentOS is too old and unsupported."
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user