Skip to content

Commit

Permalink
Update install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
tokumeikoi authored Dec 7, 2020
1 parent aa8910f commit 7cb5e80
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -65,4 +63,4 @@ if ls | grep "service.log"
cat service.log
else
echo '启动失败'
fi
fi

0 comments on commit 7cb5e80

Please sign in to comment.