mirror of
https://github.com/angristan/openvpn-install.git
synced 2025-01-08 15:50:09 +01:00
Add support for Ubuntu 18.04
This commit is contained in:
parent
71bb6e8371
commit
2f6821d778
@ -62,6 +62,7 @@ The script is made to work on these OS and architectures :
|
|||||||
- **Ubuntu 14.04 LTS** (i386, amd64)
|
- **Ubuntu 14.04 LTS** (i386, amd64)
|
||||||
- **Ubuntu 16.04 LTS** (i386, amd64, armhf)
|
- **Ubuntu 16.04 LTS** (i386, amd64, armhf)
|
||||||
- **Ubuntu 17.10** (i386, amd64, armhf, arm64)
|
- **Ubuntu 17.10** (i386, amd64, armhf, arm64)
|
||||||
|
- **Ubuntu 18.04 LTS** (i386, amd64, armhf, arm64)
|
||||||
- **Fedora 25** (amd64)
|
- **Fedora 25** (amd64)
|
||||||
- **Fedora 26** (amd64)
|
- **Fedora 26** (amd64)
|
||||||
- **Fedora 27** (amd64)
|
- **Fedora 27** (amd64)
|
||||||
|
@ -25,7 +25,7 @@ if [[ -e /etc/debian_version ]]; then
|
|||||||
VERSION_ID=$(cat /etc/os-release | grep "VERSION_ID")
|
VERSION_ID=$(cat /etc/os-release | grep "VERSION_ID")
|
||||||
IPTABLES='/etc/iptables/iptables.rules'
|
IPTABLES='/etc/iptables/iptables.rules'
|
||||||
SYSCTL='/etc/sysctl.conf'
|
SYSCTL='/etc/sysctl.conf'
|
||||||
if [[ "$VERSION_ID" != 'VERSION_ID="7"' ]] && [[ "$VERSION_ID" != 'VERSION_ID="8"' ]] && [[ "$VERSION_ID" != 'VERSION_ID="9"' ]] && [[ "$VERSION_ID" != 'VERSION_ID="14.04"' ]] && [[ "$VERSION_ID" != 'VERSION_ID="16.04"' ]] && [[ "$VERSION_ID" != 'VERSION_ID="17.10"' ]]; then
|
if [[ "$VERSION_ID" != 'VERSION_ID="7"' ]] && [[ "$VERSION_ID" != 'VERSION_ID="8"' ]] && [[ "$VERSION_ID" != 'VERSION_ID="9"' ]] && [[ "$VERSION_ID" != 'VERSION_ID="14.04"' ]] && [[ "$VERSION_ID" != 'VERSION_ID="16.04"' ]] && [[ "$VERSION_ID" != 'VERSION_ID="17.10"' ]] && [[ "$VERSION_ID" != 'VERSION_ID="18.04"' ]]; then
|
||||||
echo "Your version of Debian/Ubuntu is not supported."
|
echo "Your version of Debian/Ubuntu is not supported."
|
||||||
echo "I can't install a recent version of OpenVPN on your system."
|
echo "I can't install a recent version of OpenVPN on your system."
|
||||||
echo ""
|
echo ""
|
||||||
|
Loading…
Reference in New Issue
Block a user