From 86449004dd0abc2d3c8dd85bf0aa2196190b7532 Mon Sep 17 00:00:00 2001 From: boypt Date: Fri, 22 Feb 2019 11:35:00 +0800 Subject: [PATCH] unzip override --- src/download-v2ray.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/download-v2ray.sh b/src/download-v2ray.sh index 9af4d84..286cad2 100644 --- a/src/download-v2ray.sh +++ b/src/download-v2ray.sh @@ -26,7 +26,7 @@ _download_v2ray_file() { " && exit 1 fi - unzip $v2ray_tmp_file -d "/usr/bin/v2ray/" + unzip -o $v2ray_tmp_file -d "/usr/bin/v2ray/" chmod +x /usr/bin/v2ray/v2ray /usr/bin/v2ray/v2ctl setcap CAP_NET_BIND_SERVICE=+eip /usr/bin/v2ray/v2ray }