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