Fix unzip module
This commit is contained in:
parent
9dccedc974
commit
92f24adfe6
|
|
@ -89,6 +89,8 @@ function download_files(){
|
|||
echo "Failed to download node-${NODEJS_VER}.tar.gz"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
# Untar Nodejs file
|
||||
tar -zxf node-${NODEJS_VER}.tar.gz
|
||||
if [ $? -eq 0 ];then
|
||||
cd $cur_dir/node-${NODEJS_VER}/
|
||||
|
|
@ -97,7 +99,6 @@ function download_files(){
|
|||
echo "Untar Nodejs failed! Please visit http://teddysun.com/355.html and contact."
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
# Config shadowsocks
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user