git clone depth

pull/148/head
cutelua 6 years ago
parent 7634d74a13
commit 83479d48dc
  1. 2
      install.sh

@ -755,7 +755,7 @@ install_v2ray() {
cp -rf $(pwd)/* /etc/v2ray/233boy/v2ray
else
pushd /tmp
git clone https://github.com/233boy/v2ray -b "$_gitbranch" /etc/v2ray/233boy/v2ray
git clone --depth=1 https://github.com/233boy/v2ray -b "$_gitbranch" /etc/v2ray/233boy/v2ray
popd
fi

Loading…
Cancel
Save