mirror of
https://github.com/namibia/openvpn-install.git
synced 2024-11-16 17:25:12 +00:00
Removing support for Ubuntu 15.10
Ubuntu 15.10 is not supported anymore since july 2016 : not safe to use it now
This commit is contained in:
parent
fce638b552
commit
7295627e67
@ -30,7 +30,7 @@ if [[ -e /etc/debian_version ]]; then
|
|||||||
#We get the version number, to verify we can get a recent version of OpenVPN
|
#We get the version number, to verify we can get a recent version of OpenVPN
|
||||||
VERSION_ID=$(cat /etc/*-release | grep "VERSION_ID")
|
VERSION_ID=$(cat /etc/*-release | grep "VERSION_ID")
|
||||||
RCLOCAL='/etc/rc.local'
|
RCLOCAL='/etc/rc.local'
|
||||||
if [[ "$VERSION_ID" != 'VERSION_ID="7"' ]] && [[ "$VERSION_ID" != 'VERSION_ID="8"' ]] && [[ "$VERSION_ID" != 'VERSION_ID="12.04"' ]] && [[ "$VERSION_ID" != 'VERSION_ID="14.04"' ]] && [[ "$VERSION_ID" != 'VERSION_ID="15.10"' ]] && [[ "$VERSION_ID" != 'VERSION_ID="16.04"' ]] && [[ "$VERSION_ID" != 'VERSION_ID="16.10"' ]]; then
|
if [[ "$VERSION_ID" != 'VERSION_ID="7"' ]] && [[ "$VERSION_ID" != 'VERSION_ID="8"' ]] && [[ "$VERSION_ID" != 'VERSION_ID="12.04"' ]] && [[ "$VERSION_ID" != 'VERSION_ID="14.04"' ]] && [[ "$VERSION_ID" != 'VERSION_ID="16.04"' ]] && [[ "$VERSION_ID" != 'VERSION_ID="16.10"' ]]; then
|
||||||
echo "Your version of Debian/Ubuntu is not supported. Please look at the documentation."
|
echo "Your version of Debian/Ubuntu is not supported. Please look at the documentation."
|
||||||
exit 4
|
exit 4
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user