From 27fa7a62f86b8a39c317f0a5f11df5f7b631611b Mon Sep 17 00:00:00 2001 From: r7l <30982145+r7l@users.noreply.github.com> Date: Tue, 10 Sep 2019 10:44:38 +0200 Subject: [PATCH] fix missing Gentoo in description and openvpn uninstall --- openvpn-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openvpn-install.sh b/openvpn-install.sh index 43f0db8..011b157 100755 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -89,7 +89,7 @@ function checkOS () { OPENVPN_CONF="/etc/openvpn/openvpn.conf" fi else - echo "Looks like you aren't running this installer on a Debian, Ubuntu, Fedora, CentOS, Amazon Linux 2 or Arch Linux system" + echo "Looks like you aren't running this installer on a Debian, Ubuntu, Fedora, CentOS, Amazon Linux 2, Arch Linux or Gentoo Linux system" exit 1 fi } @@ -1297,7 +1297,7 @@ function removeOpenVPN () { fi elif [[ "$OS" = 'arch' ]]; then pacman --noconfirm -R openvpn - elif [[ "$OS" = 'arch' ]]; then + elif [[ "$OS" = 'gentoo' ]]; then emerge -C openvpn elif [[ "$OS" =~ (centos|amzn) ]]; then yum remove -y openvpn