From 22d6202ad1edd8dd967d180161945d56d97c3740 Mon Sep 17 00:00:00 2001 From: Super Manito <68613938+SuperManito@users.noreply.github.com> Date: Sat, 28 Dec 2024 01:46:53 +0800 Subject: [PATCH] bug fix --- ChangeMirrors.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeMirrors.sh b/ChangeMirrors.sh index afdad57..94f4fff 100755 --- a/ChangeMirrors.sh +++ b/ChangeMirrors.sh @@ -1,6 +1,6 @@ #!/bin/bash ## Author: SuperManito -## Modified: 2024-12-13 +## Modified: 2024-12-28 ## License: MIT ## GitHub: https://github.com/SuperManito/LinuxMirrors ## Website: https://linuxmirrors.cn @@ -2098,6 +2098,9 @@ function change_mirrors_openEuler() { gen_repo_files_openEuler ## 使用官方源 if [[ "${USE_OFFICIAL_SOURCE}" == "true" ]]; then + sed -e "s|openEuler-version|openEuler-${version_name}|g" \ + -i \ + openEuler.repo return fi