From 2568454de537f6d276d27fd4117336d59c89f966 Mon Sep 17 00:00:00 2001 From: Sebastian Werner Date: Thu, 2 Jul 2020 11:11:16 +0000 Subject: [PATCH] Update wireguard.sh --- scripts/subinstallers/wireguard.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/subinstallers/wireguard.sh b/scripts/subinstallers/wireguard.sh index dc67102..e3cffc6 100755 --- a/scripts/subinstallers/wireguard.sh +++ b/scripts/subinstallers/wireguard.sh @@ -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 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