From e6f4bda7e5ef475f39c7a4c39b7960ca1c2a2d4a Mon Sep 17 00:00:00 2001 From: spiritlhl <103393591+spiritLHLS@users.noreply.github.com> Date: Mon, 9 Oct 2023 21:55:44 +0800 Subject: [PATCH] Update buildct.sh --- scripts/buildct.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/buildct.sh b/scripts/buildct.sh index 7fef689..d30045c 100644 --- a/scripts/buildct.sh +++ b/scripts/buildct.sh @@ -289,7 +289,7 @@ if echo "$system" | grep -qiE "centos|almalinux|rockylinux"; then pct exec $CTID -- yum update pct exec $CTID -- yum install -y dos2unix curl else - pct exec $CTID -- yum update -y + # pct exec $CTID -- yum update pct exec $CTID -- yum install -y curl pct exec $CTID -- curl -lk https://gitee.com/SuperManito/LinuxMirrors/raw/main/ChangeMirrors.sh -o ChangeMirrors.sh pct exec $CTID -- chmod 777 ChangeMirrors.sh @@ -304,7 +304,7 @@ else pct exec $CTID -- apt-get update pct exec $CTID -- apt-get install dos2unix curl -y else - pct exec $CTID -- apt-get update -y + # pct exec $CTID -- apt-get update pct exec $CTID -- apt-get install curl -y --fix-missing pct exec $CTID -- curl -lk https://gitee.com/SuperManito/LinuxMirrors/raw/main/ChangeMirrors.sh -o ChangeMirrors.sh pct exec $CTID -- chmod 777 ChangeMirrors.sh