mirror of
https://github.com/whyour/qinglong.git
synced 2026-08-05 08:14:32 +08:00
修复 debian netcat 包名
This commit is contained in:
+2
-2
@@ -47,10 +47,10 @@ if [[ $os_name == 'alpine' ]]; then
|
|||||||
netcat-openbsd
|
netcat-openbsd
|
||||||
elif [[ $os_name == 'debian' ]] || [[ $os_name == 'ubuntu' ]]; then
|
elif [[ $os_name == 'debian' ]] || [[ $os_name == 'ubuntu' ]]; then
|
||||||
apt update
|
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
|
elif [[ $os_name == 'centos' ]]; then
|
||||||
yum update
|
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
|
else
|
||||||
echo -e "暂不支持此系统部署 $os_name"
|
echo -e "暂不支持此系统部署 $os_name"
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
Reference in New Issue
Block a user