From bdb1a0aebc0eac2ccd08cdd316e134445c4007ec Mon Sep 17 00:00:00 2001 From: Steven Foerster Date: Wed, 22 Apr 2020 14:03:50 -0400 Subject: [PATCH] syntax --- scripts/subinstallers/wireguard.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"