From 3521d54196c3ed0dbf408268d2e273ad644989e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A5=9E=E6=A5=BD=E5=9D=82=20=E7=99=BD?= Date: Wed, 15 May 2019 14:18:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=BF=E6=8D=A2=E6=89=80=E6=9C=89=E5=9C=B0?= =?UTF-8?q?=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Readme.md | 16 ++++++++-------- shadowsocks-all.sh | 16 ++++++++-------- shadowsocks-go.sh | 4 ++-- shadowsocks-libev-debian.sh | 2 +- shadowsocks-libev.sh | 2 +- shadowsocks.sh | 4 ++-- shadowsocksR.sh | 4 ++-- 7 files changed, 24 insertions(+), 24 deletions(-) diff --git a/Readme.md b/Readme.md index 1cd95ef..5b11f0c 100644 --- a/Readme.md +++ b/Readme.md @@ -7,7 +7,7 @@ shadowsocks.sh - https://teddysun.com/342.html ``` -wget --no-check-certificate -O shadowsocks.sh https://raw.githubusercontent.com/shirakun/shadowsocks_install/master/shadowsocks.sh +wget --no-check-certificate -O shadowsocks.sh https://gitlab.ni-co.moe/shira/shadowsocks_install/raw/master/shadowsocks.sh chmod +x shadowsocks.sh ./shadowsocks.sh 2>&1 | tee shadowsocks.log ``` @@ -18,7 +18,7 @@ shadowsocks-libev.sh - https://teddysun.com/357.html ``` -wget --no-check-certificate -O shadowsocks-libev.sh https://raw.githubusercontent.com/shirakun/shadowsocks_install/master/shadowsocks-libev.sh +wget --no-check-certificate -O shadowsocks-libev.sh https://gitlab.ni-co.moe/shira/shadowsocks_install/raw/master/shadowsocks-libev.sh chmod +x shadowsocks-libev.sh ./shadowsocks-libev.sh 2>&1 | tee shadowsocks-libev.log ``` @@ -29,7 +29,7 @@ shadowsocks-libev-debian.sh - https://teddysun.com/358.html ``` -wget --no-check-certificate -O shadowsocks-libev-debian.sh https://raw.githubusercontent.com/shirakun/shadowsocks_install/master/shadowsocks-libev-debian.sh +wget --no-check-certificate -O shadowsocks-libev-debian.sh https://gitlab.ni-co.moe/shira/shadowsocks_install/raw/master/shadowsocks-libev-debian.sh chmod +x shadowsocks-libev-debian.sh ./shadowsocks-libev-debian.sh 2>&1 | tee shadowsocks-libev-debian.log @@ -41,7 +41,7 @@ shadowsocks-go.sh - https://teddysun.com/392.html ``` -wget --no-check-certificate -O shadowsocks-go.sh https://raw.githubusercontent.com/shirakun/shadowsocks_install/master/shadowsocks-go.sh +wget --no-check-certificate -O shadowsocks-go.sh https://gitlab.ni-co.moe/shira/shadowsocks_install/raw/master/shadowsocks-go.sh chmod +x shadowsocks-go.sh ./shadowsocks-go.sh 2>&1 | tee shadowsocks-go.log ``` @@ -52,7 +52,7 @@ shadowsocks-crond.sh - https://teddysun.com/525.html ``` -wget --no-check-certificate -O /opt/shadowsocks-crond.sh https://raw.githubusercontent.com/shirakun/shadowsocks_install/master/shadowsocks-crond.sh +wget --no-check-certificate -O /opt/shadowsocks-crond.sh https://gitlab.ni-co.moe/shira/shadowsocks_install/raw/master/shadowsocks-crond.sh chmod 755 /opt/shadowsocks-crond.sh ``` @@ -62,7 +62,7 @@ shadowsocksR.sh - https://shadowsocks.be/9.html ``` -wget --no-check-certificate https://raw.githubusercontent.com/shirakun/shadowsocks_install/master/shadowsocksR.sh +wget --no-check-certificate https://gitlab.ni-co.moe/shira/shadowsocks_install/raw/master/shadowsocksR.sh chmod +x shadowsocksR.sh ./shadowsocksR.sh 2>&1 | tee shadowsocksR.log ``` @@ -73,7 +73,7 @@ shadowsocks-all.sh - https://teddysun.com/486.html ``` -wget --no-check-certificate -O shadowsocks-all.sh https://raw.githubusercontent.com/shirakun/shadowsocks_install/master/shadowsocks-all.sh +wget --no-check-certificate -O shadowsocks-all.sh https://gitlab.ni-co.moe/shira/shadowsocks_install/raw/master/shadowsocks-all.sh chmod +x shadowsocks-all.sh ./shadowsocks-all.sh 2>&1 | tee shadowsocks-all.log ``` @@ -84,7 +84,7 @@ haproxy.sh - https://shadowsocks.be/10.html ``` -wget --no-check-certificate https://raw.githubusercontent.com/shirakun/shadowsocks_install/master/haproxy.sh +wget --no-check-certificate https://gitlab.ni-co.moe/shira/shadowsocks_install/raw/master/haproxy.sh chmod +x haproxy.sh ./haproxy.sh ``` diff --git a/shadowsocks-all.sh b/shadowsocks-all.sh index f81e20c..6668f1b 100644 --- a/shadowsocks-all.sh +++ b/shadowsocks-all.sh @@ -47,15 +47,15 @@ shadowsocks_python_file="shadowsocks-master" shadowsocks_python_url="https://github.com/shadowsocks/shadowsocks/archive/master.zip" shadowsocks_python_init="/etc/init.d/shadowsocks-python" shadowsocks_python_config="/etc/shadowsocks-python/config.json" -shadowsocks_python_centos="https://raw.githubusercontent.com/shirakun/shadowsocks_install/master/shadowsocks" -shadowsocks_python_debian="https://raw.githubusercontent.com/shirakun/shadowsocks_install/master/shadowsocks-debian" +shadowsocks_python_centos="https://gitlab.ni-co.moe/shira/shadowsocks_install/raw/master/shadowsocks" +shadowsocks_python_debian="https://gitlab.ni-co.moe/shira/shadowsocks_install/raw/master/shadowsocks-debian" shadowsocks_r_file="shadowsocksr-3.2.2" shadowsocks_r_url="https://github.com/shadowsocksrr/shadowsocksr/archive/3.2.2.tar.gz" shadowsocks_r_init="/etc/init.d/shadowsocks-r" shadowsocks_r_config="/etc/shadowsocks-r/config.json" -shadowsocks_r_centos="https://raw.githubusercontent.com/shirakun/shadowsocks_install/master/shadowsocksR" -shadowsocks_r_debian="https://raw.githubusercontent.com/shirakun/shadowsocks_install/master/shadowsocksR-debian" +shadowsocks_r_centos="https://gitlab.ni-co.moe/shira/shadowsocks_install/raw/master/shadowsocksR" +shadowsocks_r_debian="https://gitlab.ni-co.moe/shira/shadowsocks_install/raw/master/shadowsocksR-debian" shadowsocks_go_file_64="shadowsocks-server-linux64-1.2.2" shadowsocks_go_url_64="https://dl.lamp.sh/shadowsocks/shadowsocks-server-linux64-1.2.2.gz" @@ -63,13 +63,13 @@ shadowsocks_go_file_32="shadowsocks-server-linux32-1.2.2" shadowsocks_go_url_32="https://dl.lamp.sh/shadowsocks/shadowsocks-server-linux32-1.2.2.gz" shadowsocks_go_init="/etc/init.d/shadowsocks-go" shadowsocks_go_config="/etc/shadowsocks-go/config.json" -shadowsocks_go_centos="https://raw.githubusercontent.com/shirakun/shadowsocks_install/master/shadowsocks-go" -shadowsocks_go_debian="https://raw.githubusercontent.com/shirakun/shadowsocks_install/master/shadowsocks-go-debian" +shadowsocks_go_centos="https://gitlab.ni-co.moe/shira/shadowsocks_install/raw/master/shadowsocks-go" +shadowsocks_go_debian="https://gitlab.ni-co.moe/shira/shadowsocks_install/raw/master/shadowsocks-go-debian" shadowsocks_libev_init="/etc/init.d/shadowsocks-libev" shadowsocks_libev_config="/etc/shadowsocks-libev/config.json" -shadowsocks_libev_centos="https://raw.githubusercontent.com/shirakun/shadowsocks_install/master/shadowsocks-libev" -shadowsocks_libev_debian="https://raw.githubusercontent.com/shirakun/shadowsocks_install/master/shadowsocks-libev-debian" +shadowsocks_libev_centos="https://gitlab.ni-co.moe/shira/shadowsocks_install/raw/master/shadowsocks-libev" +shadowsocks_libev_debian="https://gitlab.ni-co.moe/shira/shadowsocks_install/raw/master/shadowsocks-libev-debian" # Stream Ciphers common_ciphers=( diff --git a/shadowsocks-go.sh b/shadowsocks-go.sh index 83c3a01..9e89e7b 100644 --- a/shadowsocks-go.sh +++ b/shadowsocks-go.sh @@ -255,12 +255,12 @@ download_files(){ # Download start script if check_sys packageManager yum; then - if ! wget --no-check-certificate -O /etc/init.d/shadowsocks https://raw.githubusercontent.com/shirakun/shadowsocks_install/master/shadowsocks-go; then + if ! wget --no-check-certificate -O /etc/init.d/shadowsocks https://gitlab.ni-co.moe/shira/shadowsocks_install/raw/master/shadowsocks-go; then echo -e "[${red}Error${plain}] Failed to download shadowsocks-go auto start script!" exit 1 fi elif check_sys packageManager apt; then - if ! wget --no-check-certificate -O /etc/init.d/shadowsocks https://raw.githubusercontent.com/shirakun/shadowsocks_install/master/shadowsocks-go-debian; then + if ! wget --no-check-certificate -O /etc/init.d/shadowsocks https://gitlab.ni-co.moe/shira/shadowsocks_install/raw/master/shadowsocks-go-debian; then echo -e "[${red}Error${plain}] Failed to download shadowsocks-go auto start script!" exit 1 fi diff --git a/shadowsocks-libev-debian.sh b/shadowsocks-libev-debian.sh index 2fdd726..d315070 100644 --- a/shadowsocks-libev-debian.sh +++ b/shadowsocks-libev-debian.sh @@ -87,7 +87,7 @@ get_latest_version(){ [ -z ${ver} ] && echo "Error: Get shadowsocks-libev latest version failed" && exit 1 shadowsocks_libev_ver="shadowsocks-libev-$(echo ${ver} | sed -e 's/^[a-zA-Z]//g')" download_link="https://github.com/shadowsocks/shadowsocks-libev/releases/download/${ver}/${shadowsocks_libev_ver}.tar.gz" - init_script_link="https://raw.githubusercontent.com/shirakun/shadowsocks_install/master/shadowsocks-libev-debian" + init_script_link="https://gitlab.ni-co.moe/shira/shadowsocks_install/raw/master/shadowsocks-libev-debian" } get_opsy(){ diff --git a/shadowsocks-libev.sh b/shadowsocks-libev.sh index 6b0e13b..fa5cd9f 100644 --- a/shadowsocks-libev.sh +++ b/shadowsocks-libev.sh @@ -87,7 +87,7 @@ get_latest_version(){ [ -z ${ver} ] && echo "Error: Get shadowsocks-libev latest version failed" && exit 1 shadowsocks_libev_ver="shadowsocks-libev-$(echo ${ver} | sed -e 's/^[a-zA-Z]//g')" download_link="https://github.com/shadowsocks/shadowsocks-libev/releases/download/${ver}/${shadowsocks_libev_ver}.tar.gz" - init_script_link="https://raw.githubusercontent.com/shirakun/shadowsocks_install/master/shadowsocks-libev" + init_script_link="https://gitlab.ni-co.moe/shira/shadowsocks_install/raw/master/shadowsocks-libev" } check_installed(){ diff --git a/shadowsocks.sh b/shadowsocks.sh index c8ef87d..41533ee 100644 --- a/shadowsocks.sh +++ b/shadowsocks.sh @@ -246,12 +246,12 @@ download_files(){ fi # Download Shadowsocks init script if check_sys packageManager yum; then - if ! wget --no-check-certificate https://raw.githubusercontent.com/shirakun/shadowsocks_install/master/shadowsocks -O /etc/init.d/shadowsocks; then + if ! wget --no-check-certificate https://gitlab.ni-co.moe/shira/shadowsocks_install/raw/master/shadowsocks -O /etc/init.d/shadowsocks; then echo -e "[${red}Error${plain}] Failed to download shadowsocks chkconfig file!" exit 1 fi elif check_sys packageManager apt; then - if ! wget --no-check-certificate https://raw.githubusercontent.com/shirakun/shadowsocks_install/master/shadowsocks-debian -O /etc/init.d/shadowsocks; then + if ! wget --no-check-certificate https://gitlab.ni-co.moe/shira/shadowsocks_install/raw/master/shadowsocks-debian -O /etc/init.d/shadowsocks; then echo -e "[${red}Error${plain}] Failed to download shadowsocks chkconfig file!" exit 1 fi diff --git a/shadowsocksR.sh b/shadowsocksR.sh index fa43511..6d5fa08 100644 --- a/shadowsocksR.sh +++ b/shadowsocksR.sh @@ -334,12 +334,12 @@ download_files(){ fi # Download ShadowsocksR init script if check_sys packageManager yum; then - if ! wget --no-check-certificate https://raw.githubusercontent.com/shirakun/shadowsocks_install/master/shadowsocksR -O /etc/init.d/shadowsocks; then + if ! wget --no-check-certificate https://gitlab.ni-co.moe/shira/shadowsocks_install/raw/master/shadowsocksR -O /etc/init.d/shadowsocks; then echo -e "[${red}Error${plain}] Failed to download ShadowsocksR chkconfig file!" exit 1 fi elif check_sys packageManager apt; then - if ! wget --no-check-certificate https://raw.githubusercontent.com/shirakun/shadowsocks_install/master/shadowsocksR-debian -O /etc/init.d/shadowsocks; then + if ! wget --no-check-certificate https://gitlab.ni-co.moe/shira/shadowsocks_install/raw/master/shadowsocksR-debian -O /etc/init.d/shadowsocks; then echo -e "[${red}Error${plain}] Failed to download ShadowsocksR chkconfig file!" exit 1 fi