mirror of
https://github.com/Nyr/openvpn-install.git
synced 2024-11-23 21:46:08 +03:00
Fix #970
This commit is contained in:
parent
af2710df46
commit
4b412c94b4
@ -50,11 +50,17 @@ This version of Ubuntu is too old and unsupported."
|
||||
exit
|
||||
fi
|
||||
|
||||
if [[ "$os" == "debian" && "$os_version" -lt 9 ]]; then
|
||||
if [[ "$os" == "debian" ]]; then
|
||||
if grep -q '/sid' /etc/debian_version; then
|
||||
echo "Debian Testing and Debian Unstable are unsupported by this installer."
|
||||
exit
|
||||
fi
|
||||
if [[ "$os_version" -lt 9 ]]; then
|
||||
echo "Debian 9 or higher is required to use this installer.
|
||||
This version of Debian is too old and unsupported."
|
||||
exit
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ "$os" == "centos" && "$os_version" -lt 7 ]]; then
|
||||
echo "CentOS 7 or higher is required to use this installer.
|
||||
|
Loading…
Reference in New Issue
Block a user