mirror of
https://github.com/pivpn/pivpn.git
synced 2025-04-19 05:40:11 +00:00
Robustize OS Detection.
This is framework needed to support Ubuntu 16.04 which is coming in a future commit.
This commit is contained in:
parent
24fc3ae75f
commit
2f3540b898
3 changed files with 39 additions and 13 deletions
|
@ -81,7 +81,7 @@ echo ":::"
|
|||
$SUDO rm -rf /var/log/*openvpn* &> /dev/null
|
||||
if [[ $UINST_OVPN = 1 ]]; then
|
||||
$SUDO rm -rf /etc/openvpn &> /dev/null
|
||||
if [[ $PLAT = "ubuntu" ]]; then
|
||||
if [[ $PLAT = "Ubuntu" ]]; then
|
||||
printf "::: Removing openvpn apt source..."
|
||||
$SUDO rm -rf /etc/apt/sources.list.d/swupdate.openvpn.net.list &> /dev/null
|
||||
$SUDO apt-get -qq update & spinner $!; printf "done!\n";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue