fix missing Gentoo in description and openvpn uninstall
This commit is contained in:
parent
a532066897
commit
27fa7a62f8
1 changed files with 2 additions and 2 deletions
|
|
@ -89,7 +89,7 @@ function checkOS () {
|
||||||
OPENVPN_CONF="/etc/openvpn/openvpn.conf"
|
OPENVPN_CONF="/etc/openvpn/openvpn.conf"
|
||||||
fi
|
fi
|
||||||
else
|
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
|
exit 1
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
@ -1297,7 +1297,7 @@ function removeOpenVPN () {
|
||||||
fi
|
fi
|
||||||
elif [[ "$OS" = 'arch' ]]; then
|
elif [[ "$OS" = 'arch' ]]; then
|
||||||
pacman --noconfirm -R openvpn
|
pacman --noconfirm -R openvpn
|
||||||
elif [[ "$OS" = 'arch' ]]; then
|
elif [[ "$OS" = 'gentoo' ]]; then
|
||||||
emerge -C openvpn
|
emerge -C openvpn
|
||||||
elif [[ "$OS" =~ (centos|amzn) ]]; then
|
elif [[ "$OS" =~ (centos|amzn) ]]; then
|
||||||
yum remove -y openvpn
|
yum remove -y openvpn
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue