From 066b48bd84b39c71a69ebcc39bae9741d7976651 Mon Sep 17 00:00:00 2001 From: Stanislas Date: Mon, 22 Apr 2019 21:59:04 +0200 Subject: [PATCH] Add support for Ubuntu 19.04 (#416) --- README.md | 1 + openvpn-install.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 030c4e5..ce5c2e9 100644 --- a/README.md +++ b/README.md @@ -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: diff --git a/openvpn-install.sh b/openvpn-install.sh index c7eed28..61df7a3 100755 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -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."