Merge pull request #107 from boypt/patch-1

fix: 如果执行安装前存在/etc/v2ray目录会导致git clone 出错
pull/109/head^2
233boy 6 years ago committed by GitHub
commit cbaf657340
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      install.sh

@ -752,11 +752,13 @@ install_v2ray() {
mkdir -p /etc/v2ray/233boy/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
popd
fi

Loading…
Cancel
Save