Add support Debian & Ubuntu

This commit is contained in:
Teddysun 2015-03-09 16:00:51 +08:00
parent 93cf22a700
commit 6a61f8b1c8

View File

@ -105,7 +105,7 @@ function pre_install(){
if [ "$OS" == 'CentOS' ];then if [ "$OS" == 'CentOS' ];then
yum install -y wget unzip gzip curl yum install -y wget unzip gzip curl
else else
apt-get update apt-get -y update
apt-get install -y wget unzip gzip curl apt-get install -y wget unzip gzip curl
fi fi
# Get IP address # Get IP address