From 8822f1827583e83acffe94497976dee8322a9d32 Mon Sep 17 00:00:00 2001 From: Super Manito <68613938+SuperManito@users.noreply.github.com> Date: Tue, 6 Jan 2026 18:02:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DockerInstallation.sh | 6 ++++-- DockerInstallationLite.sh | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/DockerInstallation.sh b/DockerInstallation.sh index cab1c63..3de8c25 100755 --- a/DockerInstallation.sh +++ b/DockerInstallation.sh @@ -1,6 +1,6 @@ #!/bin/bash ## Author: SuperManito -## Modified: 2026-01-01 +## Modified: 2026-01-06 ## License: MIT ## GitHub: https://github.com/SuperManito/LinuxMirrors ## Website: https://linuxmirrors.cn @@ -1201,7 +1201,9 @@ function configure_docker_ce_mirror() { esac else # openEuler - if [[ "${SYSTEM_VERSION_ID_MAJOR}" -ge 22 ]]; then + if [[ "${SYSTEM_VERSION_ID_MAJOR}" -ge 24 ]]; then + target_version="10" + elif [[ "${SYSTEM_VERSION_ID_MAJOR}" -gt 22 ]]; then target_version="9" fi fi diff --git a/DockerInstallationLite.sh b/DockerInstallationLite.sh index 1e167c2..d646064 100755 --- a/DockerInstallationLite.sh +++ b/DockerInstallationLite.sh @@ -1,6 +1,6 @@ #!/bin/bash ## Author: SuperManito -## Modified: 2025-12-06 +## Modified: 2026-01-06 ## License: MIT ## GitHub: https://github.com/SuperManito/LinuxMirrors ## Website: https://linuxmirrors.cn @@ -761,7 +761,9 @@ function configure_docker_ce_mirror() { esac else # openEuler - if [[ "${SYSTEM_VERSION_ID_MAJOR}" -ge 22 ]]; then + if [[ "${SYSTEM_VERSION_ID_MAJOR}" -ge 24 ]]; then + target_version="10" + elif [[ "${SYSTEM_VERSION_ID_MAJOR}" -gt 22 ]]; then target_version="9" fi fi