1
1
mirror of https://github.com/namibia/openvpn-install.git synced 2024-11-17 09:45:11 +00:00

Add support for Ubuntu 19.04 (#416)

This commit is contained in:
Stanislas 2019-04-22 21:59:04 +02:00 committed by GitHub
parent 62cf8c12ab
commit 066b48bd84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -105,6 +105,7 @@ The script supports these OS and architectures:
| Fedora 28 | ❔ | ✅ | ❔ | ❔ |
| Ubuntu 16.04 | ✅ | ✅ | ❌ | ❌ |
| Ubuntu 18.04 | ❌ | ✅ | ✅ | ✅ |
| Ubuntu 19.04 | ❌ | ✅ | ✅ | ✅ |
To be noted:

View File

@ -36,7 +36,7 @@ function checkOS () {
fi
elif [[ "$ID" == "ubuntu" ]];then
OS="ubuntu"
if [[ ! $VERSION_ID =~ (16.04|18.04) ]]; then
if [[ ! $VERSION_ID =~ (16.04|18.04|19.04) ]]; then
echo "⚠️ Your version of Ubuntu is not supported."
echo ""
echo "However, if you're using Ubuntu > 17 or beta, then you can continue."