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,10 +50,16 @@ This version of Ubuntu is too old and unsupported."
|
|||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "$os" == "debian" && "$os_version" -lt 9 ]]; then
|
if [[ "$os" == "debian" ]]; then
|
||||||
echo "Debian 9 or higher is required to use this installer.
|
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."
|
This version of Debian is too old and unsupported."
|
||||||
exit
|
exit
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "$os" == "centos" && "$os_version" -lt 7 ]]; then
|
if [[ "$os" == "centos" && "$os_version" -lt 7 ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user