Skip to content

Commit 2e7e45f

Browse files
authored
Update install.sh
1 parent ff93afb commit 2e7e45f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

install.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ if [ ! -f xuiyg_update ]; then
6060
green "首次安装x-ui-yg脚本必要的依赖……"
6161
if [[ x"${release}" == x"alpine" ]]; then
6262
apk 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
6464
apk add virt-what
6565
else
6666
if [[ $release = Centos && ${vsid} =~ 8 ]]; then
@@ -74,13 +74,13 @@ fi
7474

7575
if [ -x "$(command -v apt-get)" ]; then
7676
apt update -y
77-
apt install jq tzdata socat cron -y
77+
apt install jq tzdata socat cron coreutils util-linux -y
7878
elif [ -x "$(command -v yum)" ]; then
7979
yum update -y && yum install epel-release -y
80-
yum install jq tzdata socat -y
80+
yum install jq tzdata socat coreutils util-linux -y
8181
elif [ -x "$(command -v dnf)" ]; then
8282
dnf update -y
83-
dnf install jq tzdata socat -y
83+
dnf install jq tzdata socat coreutils util-linux -y
8484
fi
8585
if [ -x "$(command -v yum)" ] || [ -x "$(command -v dnf)" ]; then
8686
if ! command -v "cronie" &> /dev/null; then

0 commit comments

Comments
 (0)