Fix unzip module

This commit is contained in:
Teddysun 2014-05-10 17:27:56 +08:00
parent f41175b1ca
commit 9dccedc974

View File

@ -87,14 +87,14 @@ function download_files(){
echo "Failed to download shadowsocks-libev.zip"
exit 1
fi
unzip shadowsocks-libev.zip
if [ $? -eq 0 ];then
cd $cur_dir/shadowsocks-libev-master/
else
echo ""
echo "Unzip shadowsocks-libev failed! Please visit http://teddysun.com/357.html and contact."
exit 1
fi
fi
unzip shadowsocks-libev.zip
if [ $? -eq 0 ];then
cd $cur_dir/shadowsocks-libev-master/
else
echo ""
echo "Unzip shadowsocks-libev failed! Please visit http://teddysun.com/357.html and contact."
exit 1
fi
}