diff --git a/scripts/subinstallers/wireguard.sh b/scripts/subinstallers/wireguard.sh index 49b1b76..93b2490 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 [ $(sudo apt-cache show wireguard > /dev/null 2>&1) -ne 0 ]; then +if ! $(sudo apt-cache show wireguard > /dev/null 2>&1) ; then # install PPAs echo "Adding Wireguard PPAs"