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