online branch

pull/132/head
BOYPT 6 years ago
parent 93a789bd28
commit 4bc7cc08f3
  1. 8
      install.sh

@ -753,11 +753,7 @@ install_v2ray() {
cp -rf $(pwd)/* /etc/v2ray/233boy/v2ray cp -rf $(pwd)/* /etc/v2ray/233boy/v2ray
else else
pushd /tmp pushd /tmp
if [[ $_test ]]; then git clone https://github.com/233boy/v2ray -b "$_gitbranch" /etc/v2ray/233boy/v2ray
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
popd popd
fi fi
@ -946,10 +942,12 @@ _uninstall() {
} }
args=$1 args=$1
_gitbranch=$2
[ -z $1 ] && args="online" [ -z $1 ] && args="online"
case $args in case $args in
online) online)
#hello world #hello world
[[ -z $_gitbranch ]] && _gitbranch="master"
;; ;;
local) local)
local_install=true local_install=true

Loading…
Cancel
Save