Update comments

Signed-off-by: Teddysun <i@teddysun.com>
This commit is contained in:
Teddysun 2018-03-15 22:56:02 +09:00
parent 473de2ca42
commit f02d791662
No known key found for this signature in database
GPG Key ID: 09BD4C080AD6C46D

View File

@ -230,7 +230,7 @@ pre_install(){
download_files(){
cd ${cur_dir}
if is_64bit; then
if ! wget -c https://dl.lamp.sh/shadowsocks/shadowsocks-server-linux64-1.2.1.gz; then
if ! wget --no-check-certificate -c https://dl.lamp.sh/shadowsocks/shadowsocks-server-linux64-1.2.1.gz; then
echo -e "[${red}Error${plain}] Failed to download shadowsocks-server-linux64-1.2.1.gz"
exit 1
fi
@ -241,7 +241,7 @@ download_files(){
fi
mv -f shadowsocks-server-linux64-1.2.1 /usr/bin/shadowsocks-server
else
if ! wget -c https://dl.lamp.sh/shadowsocks/shadowsocks-server-linux32-1.2.1.gz; then
if ! wget --no-check-certificate -c https://dl.lamp.sh/shadowsocks/shadowsocks-server-linux32-1.2.1.gz; then
echo -e "[${red}Error${plain}] Failed to download shadowsocks-server-linux32-1.2.1.gz"
exit 1
fi