diff --git a/install.sh b/install.sh index 8ec0d5d..8feccee 100644 --- a/install.sh +++ b/install.sh @@ -2,11 +2,9 @@ echo '正在安装依赖' if cat /etc/os-release | grep "centos" > /dev/null then - yum update > /dev/null yum install unzip wget curl -y > /dev/null yum update curl -y else - apt update > /dev/null apt-get install unzip wget curl -y > /dev/null apt-get update curl -y fi @@ -65,4 +63,4 @@ if ls | grep "service.log" cat service.log else echo '启动失败' -fi \ No newline at end of file +fi