修复 debian netcat 包名

This commit is contained in:
whyour 2024-06-24 00:13:24 +08:00
parent efb53d9426
commit 9e5585f9ea

View File

@ -47,10 +47,10 @@ if [[ $os_name == 'alpine' ]]; then
netcat-openbsd
elif [[ $os_name == 'debian' ]] || [[ $os_name == 'ubuntu' ]]; then
apt update
apt install -y git curl wget tzdata perl openssl jq nginx procps netcat openssh-client
apt install -y git curl wget tzdata perl openssl jq nginx procps netcat-openbsd openssh-client
elif [[ $os_name == 'centos' ]]; then
yum update
yum install -y epel-release git curl wget tzdata perl openssl jq nginx procps netcat openssh-client
yum install -y epel-release git curl wget tzdata perl openssl jq nginx procps nc openssh-client
else
echo -e "暂不支持此系统部署 $os_name"
exit 1
@ -97,4 +97,4 @@ fi
echo -e "############################################################\n"
echo -e "启动完成..."
echo -e "############################################################\n"
echo -e "############################################################\n"