From d8af1ff67cc49c80fd0acef8e628e175683a3452 Mon Sep 17 00:00:00 2001 From: Teddysun Date: Sat, 22 Jul 2017 08:33:56 +0900 Subject: [PATCH] update dependency packages Signed-off-by: Teddysun --- shadowsocks.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/shadowsocks.sh b/shadowsocks.sh index 20f7b0f..80f85d2 100644 --- a/shadowsocks.sh +++ b/shadowsocks.sh @@ -221,12 +221,12 @@ pre_install(){ echo echo "Press any key to start...or Press Ctrl+C to cancel" char=`get_char` - #Install necessary dependencies + # Install necessary dependencies if check_sys packageManager yum; then - yum install -y unzip openssl-devel gcc swig python python-devel python-setuptools autoconf libtool libevent automake make curl curl-devel zlib-devel perl perl-devel cpio expat-devel gettext-devel + yum install -y python python-devel 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 python-pip python-setuptools python-m2crypto curl wget unzip gcc swig automake make perl cpio build-essential + apt-get -y install python python-dev openssl libssl-dev curl wget unzip gcc automake autoconf make libtool fi cd ${cur_dir} }