This commit is contained in:
Super Manito
2025-07-26 20:30:38 +08:00
parent bc66b32826
commit cd45ebddf1
4 changed files with 10 additions and 10 deletions

View File

@@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
## Author: SuperManito ## Author: SuperManito
## Modified: 2025-07-24 ## Modified: 2025-07-26
## License: MIT ## License: MIT
## GitHub: https://github.com/SuperManito/LinuxMirrors ## GitHub: https://github.com/SuperManito/LinuxMirrors
## Website: https://linuxmirrors.cn ## Website: https://linuxmirrors.cn
@@ -1767,7 +1767,7 @@ function change_mirrors_main() {
if [[ -z "${exec_cmd}" ]]; then if [[ -z "${exec_cmd}" ]]; then
exec_cmd="${cmd}" exec_cmd="${cmd}"
else else
exec_cmd="${exec_cmd} && ${cmd}" exec_cmd="${exec_cmd} ; ${cmd}"
fi fi
done done
echo '' echo ''
@@ -2024,7 +2024,7 @@ $(gen_deb822_disabled_source "${1}" "${2}-proposed" "${3}")"
esac esac
fi fi
local deb_source_title="## 默认禁用源码镜像以提高速度,如需启用请自行取消注释" local deb_source_title="## 默认禁用源码镜像以提高更新速度,如需启用请自行取消注释"
local repository_sections # 仓库区域 local repository_sections # 仓库区域
local source_host="${SOURCE}/${SOURCE_BRANCH}" local source_host="${SOURCE}/${SOURCE_BRANCH}"
local source_host_security="" local source_host_security=""
@@ -2561,7 +2561,7 @@ deb ${WEB_PROTOCOL}://${1}/ ${2}-updates ${3}
fi fi
local repository_sections="main cross pty" # 仓库区域 local repository_sections="main cross pty" # 仓库区域
local source_host="${SOURCE}/${SOURCE_BRANCH}" local source_host="${SOURCE}/${SOURCE_BRANCH}"
echo "## 默认禁用源码镜像以提高速度,如需启用请自行取消注释 echo "## 默认禁用源码镜像以提高更新速度,如需启用请自行取消注释
$(gen_deb_source "${source_host}" "${SYSTEM_VERSION_CODENAME}" "${repository_sections}")" >>$File_AptSourceList $(gen_deb_source "${source_host}" "${SYSTEM_VERSION_CODENAME}" "${repository_sections}")" >>$File_AptSourceList
} }

View File

@@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
## Author: SuperManito ## Author: SuperManito
## Modified: 2025-07-18 ## Modified: 2025-07-26
## License: MIT ## License: MIT
## GitHub: https://github.com/SuperManito/LinuxMirrors ## GitHub: https://github.com/SuperManito/LinuxMirrors
## Website: https://linuxmirrors.cn ## Website: https://linuxmirrors.cn
@@ -891,7 +891,7 @@ function install_dependency_packages() {
if [[ -z "${exec_cmd}" ]]; then if [[ -z "${exec_cmd}" ]]; then
exec_cmd="${cmd}" exec_cmd="${cmd}"
else else
exec_cmd="${exec_cmd} && ${cmd}" exec_cmd="${exec_cmd} ; ${cmd}"
fi fi
done done
echo '' echo ''
@@ -930,7 +930,7 @@ function install_dependency_packages() {
if [[ -z "${exec_cmd}" ]]; then if [[ -z "${exec_cmd}" ]]; then
exec_cmd="${cmd}" exec_cmd="${cmd}"
else else
exec_cmd="${exec_cmd} && ${cmd}" exec_cmd="${exec_cmd} ; ${cmd}"
fi fi
done done
echo '' echo ''
@@ -1005,7 +1005,7 @@ function configure_docker_ce_mirror() {
if [[ -z "${exec_cmd}" ]]; then if [[ -z "${exec_cmd}" ]]; then
exec_cmd="${cmd}" exec_cmd="${cmd}"
else else
exec_cmd="${exec_cmd} && ${cmd}" exec_cmd="${exec_cmd} ; ${cmd}"
fi fi
done done
animate_exec "${exec_cmd}" "${SYNC_MIRROR_TEXT}" animate_exec "${exec_cmd}" "${SYNC_MIRROR_TEXT}"
@@ -1159,7 +1159,7 @@ function install_docker_engine() {
if [[ -z "${exec_cmd}" ]]; then if [[ -z "${exec_cmd}" ]]; then
exec_cmd="${cmd}" exec_cmd="${cmd}"
else else
exec_cmd="${exec_cmd} && ${cmd}" exec_cmd="${exec_cmd} ; ${cmd}"
fi fi
done done
animate_exec "${exec_cmd}" "安装 Docker Engine" animate_exec "${exec_cmd}" "安装 Docker Engine"
@@ -1337,7 +1337,7 @@ function only_change_docker_registry_mirror() {
if [[ -z "${exec_cmd}" ]]; then if [[ -z "${exec_cmd}" ]]; then
exec_cmd="${cmd}" exec_cmd="${cmd}"
else else
exec_cmd="${exec_cmd} && ${cmd}" exec_cmd="${exec_cmd} ; ${cmd}"
fi fi
done done
echo '' echo ''

Binary file not shown.

Before

Width:  |  Height:  |  Size: 58 KiB

After

Width:  |  Height:  |  Size: 73 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 62 KiB

After

Width:  |  Height:  |  Size: 76 KiB