From 7dddce121b3a9109dbca61b06499c83535d588f0 Mon Sep 17 00:00:00 2001 From: 233boy <31657650+233boy@users.noreply.github.com> Date: Thu, 6 Oct 2022 08:10:25 +0800 Subject: [PATCH] fix #949 --- src/download-v2ray.sh | 2 +- v2ray.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/download-v2ray.sh b/src/download-v2ray.sh index 256dc70..246ef1e 100644 --- a/src/download-v2ray.sh +++ b/src/download-v2ray.sh @@ -26,7 +26,7 @@ _download_v2ray_file() { fi unzip -o $v2ray_tmp_file -d "/usr/bin/v2ray/" - chmod +x /usr/bin/v2ray/{v2ray,v2ctl} + chmod +x /usr/bin/v2ray/v2ray if [[ ! $(cat /root/.bashrc | grep v2ray) ]]; then echo "alias v2ray=$_v2ray_sh" >>/root/.bashrc fi diff --git a/v2ray.sh b/v2ray.sh index 49996a4..2ea6202 100644 --- a/v2ray.sh +++ b/v2ray.sh @@ -10,7 +10,7 @@ none='\e[0m' # Root [[ $(id -u) != 0 ]] && echo -e " 哎呀……请使用 ${red}root ${none}用户运行 ${yellow}~(^_^) ${none}" && exit 1 -_version="v3.62" +_version="v3.63" cmd="apt-get"