update dependency packages

Signed-off-by: Teddysun <i@teddysun.com>
This commit is contained in:
Teddysun 2017-07-22 17:14:44 +09:00
parent a8f11139c9
commit d7d5bf3027
No known key found for this signature in database
GPG Key ID: 09BD4C080AD6C46D

View File

@ -302,10 +302,10 @@ pre_install(){
char=`get_char`
# Install necessary dependencies
if check_sys packageManager yum; then
yum install -y python python-devel openssl openssl-devel curl wget unzip gcc automake autoconf make libtool
yum install -y python python-devel python-setuptools openssl openssl-devel curl wget unzip gcc automake autoconf make libtool
elif check_sys packageManager apt; then
apt-get -y update
apt-get -y install python python-dev openssl libssl-dev curl wget unzip gcc automake autoconf make libtool
apt-get -y install python python-dev python-setuptools openssl libssl-dev curl wget unzip gcc automake autoconf make libtool
fi
cd ${cur_dir}
}