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