Skip to content

Commit

Permalink
online branch
Browse files Browse the repository at this point in the history
  • Loading branch information
boypt committed Feb 24, 2019
1 parent 9d6febc commit c8393ca
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -753,11 +753,7 @@ install_v2ray() {
cp -rf $(pwd)/* /etc/v2ray/233boy/v2ray
else
pushd /tmp
if [[ $_test ]]; then
git clone https://github.com/233boy/v2ray -b test /etc/v2ray/233boy/v2ray
else
git clone https://github.com/233boy/v2ray /etc/v2ray/233boy/v2ray
fi
git clone https://github.com/233boy/v2ray -b "$_gitbranch" /etc/v2ray/233boy/v2ray
popd

fi
Expand Down Expand Up @@ -1028,10 +1024,12 @@ uninstall() {
}

args=$1
_gitbranch=$2
[ -z $1 ] && args="online"
case $args in
online)
#hello world
[[ -z $_gitbranch ]] && _gitbranch="master"
;;
local)
local_install=true
Expand Down

0 comments on commit c8393ca

Please sign in to comment.