This commit is contained in:
Super Manito
2024-12-28 01:46:53 +08:00
parent 2b00245f26
commit 22d6202ad1

View File

@@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
## Author: SuperManito ## Author: SuperManito
## Modified: 2024-12-13 ## Modified: 2024-12-28
## License: MIT ## License: MIT
## GitHub: https://github.com/SuperManito/LinuxMirrors ## GitHub: https://github.com/SuperManito/LinuxMirrors
## Website: https://linuxmirrors.cn ## Website: https://linuxmirrors.cn
@@ -2098,6 +2098,9 @@ function change_mirrors_openEuler() {
gen_repo_files_openEuler gen_repo_files_openEuler
## 使用官方源 ## 使用官方源
if [[ "${USE_OFFICIAL_SOURCE}" == "true" ]]; then if [[ "${USE_OFFICIAL_SOURCE}" == "true" ]]; then
sed -e "s|openEuler-version|openEuler-${version_name}|g" \
-i \
openEuler.repo
return return
fi fi