update download url

This commit is contained in:
Teddysun 2016-10-17 20:21:08 +09:00
parent 895143b1f9
commit 8c623a57d4

View File

@ -189,7 +189,7 @@ pre_install(){
download_files(){
cd ${cur_dir}
if is_64bit; then
if ! wget -c http://dl.teddysun.com/shadowsocks/shadowsocks-server-linux64-1.1.5.gz; then
if ! wget --no-check-certificate -c https://github.com/shadowsocks/shadowsocks-go/releases/download/1.1.5/shadowsocks-server-linux64-1.1.5.gz; then
echo "Failed to download shadowsocks-server-linux64-1.1.5.gz"
exit 1
fi
@ -202,7 +202,7 @@ download_files(){
fi
mv -f shadowsocks-server-linux64-1.1.5 /usr/bin/shadowsocks-server
else
if ! wget -c http://dl.teddysun.com/shadowsocks/shadowsocks-server-linux32-1.1.5.gz; then
if ! wget --no-check-certificate -c https://github.com/shadowsocks/shadowsocks-go/releases/download/1.1.5/shadowsocks-server-linux32-1.1.5.gz; then
echo "Failed to download shadowsocks-server-linux32-1.1.5.gz"
exit 1
fi