Browse Source

Update wireguard.sh

merge-requests/31/head
Sebastian Werner 6 years ago
parent
commit
2568454de5
  1. 4
      scripts/subinstallers/wireguard.sh

4
scripts/subinstallers/wireguard.sh

@ -3,7 +3,7 @@ @@ -3,7 +3,7 @@
figlet "Mistborn: Installing Wireguard"
# if wireguard not in current repositories
if [ "$DISTRO" == "ubuntu" ] || [ "$DISTRO" == "debian" ] || [ "$DISTRO" == "raspbian" ] ; then
if [ "$DISTRO" == "ubuntu" ] || [ "$DISTRO" == "debian" ] || [ "$DISTRO" == "raspbian" ]; then
if ! $(sudo apt-cache show wireguard > /dev/null 2>&1) ; then
# install PPAs
@ -30,7 +30,7 @@ if [ "$DISTRO" == "ubuntu" ] || [ "$DISTRO" == "debian" ] || [ "$DISTRO" == "ras @@ -30,7 +30,7 @@ if [ "$DISTRO" == "ubuntu" ] || [ "$DISTRO" == "debian" ] || [ "$DISTRO" == "ras
fi
echo "Installing Wireguard"
if [ "$DISTRO" == "ubuntu" ] || [ "$DISTRO" == "debian" ] || [ "$DISTRO" == "raspbian" ] ; then
if [ "$DISTRO" == "ubuntu" ] || [ "$DISTRO" == "debian" ] || [ "$DISTRO" == "raspbian" ]; then
sudo apt-get update
sudo apt-get install -y openresolv wireguard
elif [ "$DISTRO" == "arch" ]; then

Loading…
Cancel
Save