File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ if [ ! -f xuiyg_update ]; then
6060green " 首次安装x-ui-yg脚本必要的依赖……"
6161if [[ x" ${release} " == x" alpine" ]]; then
6262apk update
63- apk add wget curl tar jq tzdata openssl expect git socat iproute2
63+ apk add wget curl tar jq tzdata openssl expect git socat iproute2 coreutils util-linux dcron
6464apk add virt-what
6565else
6666if [[ $release = Centos && ${vsid} =~ 8 ]]; then
7474
7575if [ -x " $( command -v apt-get) " ]; then
7676apt update -y
77- apt install jq tzdata socat cron -y
77+ apt install jq tzdata socat cron coreutils util-linux -y
7878elif [ -x " $( command -v yum) " ]; then
7979yum update -y && yum install epel-release -y
80- yum install jq tzdata socat -y
80+ yum install jq tzdata socat coreutils util-linux -y
8181elif [ -x " $( command -v dnf) " ]; then
8282dnf update -y
83- dnf install jq tzdata socat -y
83+ dnf install jq tzdata socat coreutils util-linux -y
8484fi
8585if [ -x " $( command -v yum) " ] || [ -x " $( command -v dnf) " ]; then
8686if ! command -v " cronie" & > /dev/null; then
You can’t perform that action at this time.
0 commit comments