diff --git a/shadowsocks-go.sh b/shadowsocks-go.sh index a2b96c8..cb352b3 100644 --- a/shadowsocks-go.sh +++ b/shadowsocks-go.sh @@ -105,7 +105,7 @@ function pre_install(){ if [ "$OS" == 'CentOS' ];then yum install -y wget unzip gzip curl else - apt-get update + apt-get -y update apt-get install -y wget unzip gzip curl fi # Get IP address