From 6b1d232e57aa728286627edb5af598639dfaae2c Mon Sep 17 00:00:00 2001 From: Super Manito <68613938+SuperManito@users.noreply.github.com> Date: Fri, 12 Sep 2025 11:59:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DockerInstallation.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/DockerInstallation.sh b/DockerInstallation.sh index 8037327..4896ffb 100755 --- a/DockerInstallation.sh +++ b/DockerInstallation.sh @@ -1,6 +1,6 @@ #!/bin/bash ## Author: SuperManito -## Modified: 2025-09-04 +## Modified: 2025-09-12 ## License: MIT ## GitHub: https://github.com/SuperManito/LinuxMirrors ## Website: https://linuxmirrors.cn @@ -978,6 +978,7 @@ function configure_docker_ce_mirror() { fi chmod a+r $file_keyring ## 添加源 + [ -d "${Dir_AptAdditionalSources}" ] || mkdir -p $Dir_AptAdditionalSources local source_content="deb [arch=$(dpkg --print-architecture) signed-by=${file_keyring}] ${WEB_PROTOCOL}://${SOURCE}/linux/${SOURCE_BRANCH} ${SYSTEM_VERSION_CODENAME} stable" echo "${source_content}" | tee $File_DockerSourceList >/dev/null 2>&1 commands+=("apt-get update")