diff --git a/shadowsocks.sh b/shadowsocks.sh index 54b6a20..398794a 100644 --- a/shadowsocks.sh +++ b/shadowsocks.sh @@ -223,10 +223,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} }