update shadowsocks-libev to version 2.5.2
This commit is contained in:
parent
ec2e1ba12b
commit
4241ce17f0
|
|
@ -21,7 +21,7 @@ echo
|
||||||
|
|
||||||
#Current folder
|
#Current folder
|
||||||
cur_dir=`pwd`
|
cur_dir=`pwd`
|
||||||
shadowsocks_libev_ver="shadowsocks-libev-2.5.1"
|
shadowsocks_libev_ver="shadowsocks-libev-2.5.2"
|
||||||
|
|
||||||
# Make sure only root can run our script
|
# Make sure only root can run our script
|
||||||
rootness(){
|
rootness(){
|
||||||
|
|
@ -106,7 +106,7 @@ download_files(){
|
||||||
if [ -f ${shadowsocks_libev_ver}.zip ];then
|
if [ -f ${shadowsocks_libev_ver}.zip ];then
|
||||||
echo "${shadowsocks_libev_ver}.zip [found]"
|
echo "${shadowsocks_libev_ver}.zip [found]"
|
||||||
else
|
else
|
||||||
if ! wget --no-check-certificate https://github.com/shadowsocks/shadowsocks-libev/archive/v2.5.1.zip -O ${shadowsocks_libev_ver}.zip; then
|
if ! wget --no-check-certificate https://github.com/shadowsocks/shadowsocks-libev/archive/v2.5.2.zip -O ${shadowsocks_libev_ver}.zip; then
|
||||||
echo "Failed to download ${shadowsocks_libev_ver}.zip"
|
echo "Failed to download ${shadowsocks_libev_ver}.zip"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user