From a5a67f68b307f3ee5f942b2fe9b61939b906578e Mon Sep 17 00:00:00 2001 From: 233boy Date: Sat, 5 May 2018 23:41:26 +0800 Subject: [PATCH] [add] v2ray reinstall --- v2ray.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/v2ray.sh b/v2ray.sh index 65173ac..69e823b 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="v2.18" +_version="v2.19" cmd="apt-get" @@ -3606,6 +3606,10 @@ U | update.sh) un | uninstall) uninstall_v2ray ;; +reinstall) + uninstall_v2ray + [[ $is_uninstall_v2ray ]] && bash <(curl -s -L https://233blog.com/v2ray.sh) + ;; 233 | 2333 | 233boy | 233blog | 233blog.com) _boom_ ;;