修复大陆镜像文件
parent
2f76751213
commit
79f73beb63
|
@ -97,13 +97,13 @@ function Install_ct() {
|
|||
[[ -z ${addyn} ]] && addyn="n"
|
||||
if [[ ${addyn} == [Yy] ]]; then
|
||||
rm -rf gost-linux-"$bit"-"$ct_new_ver".gz
|
||||
wget --no-check-certificate https://gotunnel.oss-cn-shenzhen.aliyuncs.com/gost-linux-"$bit"-"$ct_new_ver".gz
|
||||
wget --no-check-certificate https://h5ai.amikufan.com/%E5%A4%87%E4%BB%BD/gost/gost-linux-"$bit"-"$ct_new_ver".gz
|
||||
gunzip gost-linux-"$bit"-"$ct_new_ver".gz
|
||||
mv gost-linux-"$bit"-"$ct_new_ver" gost
|
||||
mv gost /usr/bin/gost
|
||||
chmod -R 777 /usr/bin/gost
|
||||
wget --no-check-certificate https://gotunnel.oss-cn-shenzhen.aliyuncs.com/gost.service && chmod -R 777 gost.service && mv gost.service /usr/lib/systemd/system
|
||||
mkdir /etc/gost && wget --no-check-certificate https://gotunnel.oss-cn-shenzhen.aliyuncs.com/config.json && mv config.json /etc/gost && chmod -R 777 /etc/gost
|
||||
wget --no-check-certificate https://h5ai.amikufan.com/%E5%A4%87%E4%BB%BD/gost/gost.service && chmod -R 777 gost.service && mv gost.service /usr/lib/systemd/system
|
||||
mkdir /etc/gost && wget --no-check-certificate https://h5ai.amikufan.com/%E5%A4%87%E4%BB%BD/gost/config.json && mv config.json /etc/gost && chmod -R 777 /etc/gost
|
||||
else
|
||||
rm -rf gost-linux-"$bit"-"$ct_new_ver".gz
|
||||
wget --no-check-certificate https://github.com/ginuerzh/gost/releases/download/v"$ct_new_ver"/gost-linux-"$bit"-"$ct_new_ver".gz
|
||||
|
|
Loading…
Reference in New Issue