mirror of
https://github.com/thelittlerocket/pve.git
synced 2025-09-05 22:14:13 +08:00
Update buildct_onlyv6.sh
This commit is contained in:
parent
759596b6df
commit
4ced88bb83
1 changed files with 0 additions and 2 deletions
|
@ -233,7 +233,6 @@ if echo "$system" | grep -qiE "centos|almalinux|rockylinux" >/dev/null 2>&1; the
|
|||
pct exec $CTID -- yum update
|
||||
pct exec $CTID -- yum install -y dos2unix curl
|
||||
else
|
||||
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
|
||||
|
@ -248,7 +247,6 @@ else
|
|||
pct exec $CTID -- apt-get update
|
||||
pct exec $CTID -- apt-get install dos2unix curl -y
|
||||
else
|
||||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue