Update comments
Signed-off-by: Teddysun <i@teddysun.com>
This commit is contained in:
parent
473de2ca42
commit
f02d791662
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user