From bb4c0885d7c3e1c3c82885d729a87b660260f40b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=94=AC=E5=93=A5=E4=BE=83=E4=BE=83=E4=BE=83ygkkk?= <121604513+yonggekkk@users.noreply.github.com> Date: Fri, 9 May 2025 09:07:25 +0800 Subject: [PATCH] Update sb.sh --- sb.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sb.sh b/sb.sh index 5f26d35..5d6d81d 100644 --- a/sb.sh +++ b/sb.sh @@ -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