refactor: 将脚本下载链接中的分支从 main 更新为 2026

This commit is contained in:
严浩
2026-03-09 17:57:47 +08:00
parent 367a37f29b
commit efcc19e914
5 changed files with 7 additions and 7 deletions

View File

@@ -101,7 +101,7 @@ docker_exec() {
set -- "$@" --shell="$EXEC_SHELL"
fi
curl -fsSL "https://Git.1-H.CC/Scripts/Linux/raw/branch/main/docker-exec-via-sock.sh" | sh -s -- "$@"
curl -fsSL "https://git.1-h.cc/Scripts/Linux/raw/branch/2026/docker-exec-via-sock.sh" | sh -s -- "$@"
}
while [ "$#" -gt 0 ]; do
@@ -305,7 +305,7 @@ printf '\n' >&2
log "数据库备份完成"
log "正在调用远程清理脚本,前缀为 '$BACKUP_PREFIX',目录为 $BACKUP_DIR"
if ! curl -fsSL "https://Git.1-H.CC/Scripts/Linux/raw/branch/main/database-dump-cleanup.sh" | \
if ! curl -fsSL "https://git.1-h.cc/Scripts/Linux/raw/branch/2026/database-dump-cleanup.sh" | \
sh -s -- --prefix="$BACKUP_PREFIX" --dir="$BACKUP_DIR"; then
log "清理脚本失败"
fi