Update sb.sh
This commit is contained in:
@@ -71,7 +71,7 @@ if [ ! -f sbyg_update ]; then
|
||||
green "首次安装Sing-box-yg脚本必要的依赖……"
|
||||
if [[ x"${release}" == x"alpine" ]]; then
|
||||
apk update
|
||||
apk add wget curl tar jq tzdata openssl expect git socat iproute2 iptables grep
|
||||
apk add wget curl tar jq tzdata openssl expect git socat iproute2 iptables grep coreutils util-linux dcron
|
||||
apk add virt-what
|
||||
apk add qrencode
|
||||
else
|
||||
@@ -85,13 +85,13 @@ cd
|
||||
fi
|
||||
if [ -x "$(command -v apt-get)" ]; then
|
||||
apt update -y
|
||||
apt install jq cron socat iptables-persistent -y
|
||||
apt install jq cron socat iptables-persistent coreutils util-linux -y
|
||||
elif [ -x "$(command -v yum)" ]; then
|
||||
yum update -y && yum install epel-release -y
|
||||
yum install jq socat -y
|
||||
yum install jq socat coreutils util-linux -y
|
||||
elif [ -x "$(command -v dnf)" ]; then
|
||||
dnf update -y
|
||||
dnf install jq socat -y
|
||||
dnf install jq socat coreutils util-linux -y
|
||||
fi
|
||||
if [ -x "$(command -v yum)" ] || [ -x "$(command -v dnf)" ]; then
|
||||
if [ -x "$(command -v yum)" ]; then
|
||||
|
||||
Reference in New Issue
Block a user