unzip override

pull/125/head
boypt 6 years ago
parent 6a19b76a8d
commit 86449004dd
  1. 2
      src/download-v2ray.sh

@ -26,7 +26,7 @@ _download_v2ray_file() {
" && exit 1 " && exit 1
fi 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 chmod +x /usr/bin/v2ray/v2ray /usr/bin/v2ray/v2ctl
setcap CAP_NET_BIND_SERVICE=+eip /usr/bin/v2ray/v2ray setcap CAP_NET_BIND_SERVICE=+eip /usr/bin/v2ray/v2ray
} }

Loading…
Cancel
Save