From 047eccc19da23cd7e2b8f1bb2e2519a64fb11897 Mon Sep 17 00:00:00 2001 From: 4s3ti <4s3ti@protonmail.com> Date: Wed, 8 Jan 2020 20:02:34 +0100 Subject: [PATCH] Update script: Removed IF statement Removed if statement from update script, was making no sense to have it there. --- scripts/update.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/scripts/update.sh b/scripts/update.sh index fd20052..9481c4a 100755 --- a/scripts/update.sh +++ b/scripts/update.sh @@ -52,11 +52,9 @@ updatefromtest(){ cloneandupdate(){ ##This is to be removed after merge. ##Alert for users trying to update from master. - if [ $VPN == "wireguard" ]; then echo "ERROR: You have installed pivpn from test branch." echo "Wireguard not yet available on master, please use -t flag" exit 1 - fi ## Remove Above and uncomment below when test is moved to master # git clone "$pivpnrepo" "$pivpnlocalpath" # cp "${pivpnlocalpath}"/scripts/*.sh "$pivpnscripts"