mirror of
https://gitee.com/SuperManito/LinuxMirrors
synced 2025-11-02 15:30:26 +08:00
优化
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
## Author: SuperManito
|
||||
## Modified: 2025-07-24
|
||||
## Modified: 2025-07-26
|
||||
## License: MIT
|
||||
## GitHub: https://github.com/SuperManito/LinuxMirrors
|
||||
## Website: https://linuxmirrors.cn
|
||||
@@ -1767,7 +1767,7 @@ function change_mirrors_main() {
|
||||
if [[ -z "${exec_cmd}" ]]; then
|
||||
exec_cmd="${cmd}"
|
||||
else
|
||||
exec_cmd="${exec_cmd} && ${cmd}"
|
||||
exec_cmd="${exec_cmd} ; ${cmd}"
|
||||
fi
|
||||
done
|
||||
echo ''
|
||||
@@ -2024,7 +2024,7 @@ $(gen_deb822_disabled_source "${1}" "${2}-proposed" "${3}")"
|
||||
esac
|
||||
fi
|
||||
|
||||
local deb_source_title="## 默认禁用源码镜像以提高速度,如需启用请自行取消注释"
|
||||
local deb_source_title="## 默认禁用源码镜像以提高更新速度,如需启用请自行取消注释"
|
||||
local repository_sections # 仓库区域
|
||||
local source_host="${SOURCE}/${SOURCE_BRANCH}"
|
||||
local source_host_security=""
|
||||
@@ -2561,7 +2561,7 @@ deb ${WEB_PROTOCOL}://${1}/ ${2}-updates ${3}
|
||||
fi
|
||||
local repository_sections="main cross pty" # 仓库区域
|
||||
local source_host="${SOURCE}/${SOURCE_BRANCH}"
|
||||
echo "## 默认禁用源码镜像以提高速度,如需启用请自行取消注释
|
||||
echo "## 默认禁用源码镜像以提高更新速度,如需启用请自行取消注释
|
||||
$(gen_deb_source "${source_host}" "${SYSTEM_VERSION_CODENAME}" "${repository_sections}")" >>$File_AptSourceList
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
## Author: SuperManito
|
||||
## Modified: 2025-07-18
|
||||
## Modified: 2025-07-26
|
||||
## License: MIT
|
||||
## GitHub: https://github.com/SuperManito/LinuxMirrors
|
||||
## Website: https://linuxmirrors.cn
|
||||
@@ -891,7 +891,7 @@ function install_dependency_packages() {
|
||||
if [[ -z "${exec_cmd}" ]]; then
|
||||
exec_cmd="${cmd}"
|
||||
else
|
||||
exec_cmd="${exec_cmd} && ${cmd}"
|
||||
exec_cmd="${exec_cmd} ; ${cmd}"
|
||||
fi
|
||||
done
|
||||
echo ''
|
||||
@@ -930,7 +930,7 @@ function install_dependency_packages() {
|
||||
if [[ -z "${exec_cmd}" ]]; then
|
||||
exec_cmd="${cmd}"
|
||||
else
|
||||
exec_cmd="${exec_cmd} && ${cmd}"
|
||||
exec_cmd="${exec_cmd} ; ${cmd}"
|
||||
fi
|
||||
done
|
||||
echo ''
|
||||
@@ -1005,7 +1005,7 @@ function configure_docker_ce_mirror() {
|
||||
if [[ -z "${exec_cmd}" ]]; then
|
||||
exec_cmd="${cmd}"
|
||||
else
|
||||
exec_cmd="${exec_cmd} && ${cmd}"
|
||||
exec_cmd="${exec_cmd} ; ${cmd}"
|
||||
fi
|
||||
done
|
||||
animate_exec "${exec_cmd}" "${SYNC_MIRROR_TEXT}"
|
||||
@@ -1159,7 +1159,7 @@ function install_docker_engine() {
|
||||
if [[ -z "${exec_cmd}" ]]; then
|
||||
exec_cmd="${cmd}"
|
||||
else
|
||||
exec_cmd="${exec_cmd} && ${cmd}"
|
||||
exec_cmd="${exec_cmd} ; ${cmd}"
|
||||
fi
|
||||
done
|
||||
animate_exec "${exec_cmd}" "安装 Docker Engine"
|
||||
@@ -1337,7 +1337,7 @@ function only_change_docker_registry_mirror() {
|
||||
if [[ -z "${exec_cmd}" ]]; then
|
||||
exec_cmd="${cmd}"
|
||||
else
|
||||
exec_cmd="${exec_cmd} && ${cmd}"
|
||||
exec_cmd="${exec_cmd} ; ${cmd}"
|
||||
fi
|
||||
done
|
||||
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 |
Reference in New Issue
Block a user