mirror of
https://github.com/pivpn/pivpn.git
synced 2024-12-18 19:00:15 +00:00
Update script: Removed IF statement
Removed if statement from update script, was making no sense to have it there.
This commit is contained in:
parent
0c79cc9e42
commit
047eccc19d
1 changed files with 0 additions and 2 deletions
|
@ -52,11 +52,9 @@ updatefromtest(){
|
||||||
cloneandupdate(){
|
cloneandupdate(){
|
||||||
##This is to be removed after merge.
|
##This is to be removed after merge.
|
||||||
##Alert for users trying to update from master.
|
##Alert for users trying to update from master.
|
||||||
if [ $VPN == "wireguard" ]; then
|
|
||||||
echo "ERROR: You have installed pivpn from test branch."
|
echo "ERROR: You have installed pivpn from test branch."
|
||||||
echo "Wireguard not yet available on master, please use -t flag"
|
echo "Wireguard not yet available on master, please use -t flag"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
|
||||||
## Remove Above and uncomment below when test is moved to master
|
## Remove Above and uncomment below when test is moved to master
|
||||||
# git clone "$pivpnrepo" "$pivpnlocalpath"
|
# git clone "$pivpnrepo" "$pivpnlocalpath"
|
||||||
# cp "${pivpnlocalpath}"/scripts/*.sh "$pivpnscripts"
|
# cp "${pivpnlocalpath}"/scripts/*.sh "$pivpnscripts"
|
||||||
|
|
Loading…
Reference in a new issue