From 8aae61cb39184b3953036ef8ebe9a8bd534971c2 Mon Sep 17 00:00:00 2001 From: Super Manito <68613938+SuperManito@users.noreply.github.com> Date: Thu, 11 Dec 2025 22:25:13 +0800 Subject: [PATCH] bug fix --- ChangeMirrors.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ChangeMirrors.sh b/ChangeMirrors.sh index 0d600ff..227d82b 100755 --- a/ChangeMirrors.sh +++ b/ChangeMirrors.sh @@ -1,6 +1,6 @@ #!/bin/bash ## Author: SuperManito -## Modified: 2025-12-01 +## Modified: 2025-12-11 ## License: MIT ## GitHub: https://github.com/SuperManito/LinuxMirrors ## Website: https://linuxmirrors.cn @@ -3070,7 +3070,7 @@ function change_mirrors_Alpine() { if [ $? -eq 0 ]; then version_name="edge" else - version_name="v${SYSTEM_VERSION_ID_MAJOR}" + version_name="v${SYSTEM_VERSION_ID%.*}" fi ## 修改源 echo "${WEB_PROTOCOL}://${SOURCE}/${SOURCE_BRANCH}/${version_name}/main