优化修改部署

This commit is contained in:
2026-04-07 17:06:12 +08:00
parent 41a586b97b
commit 14584aed3d
16 changed files with 78 additions and 10 deletions

2
base/setup.sh Normal file → Executable file
View File

@@ -7,7 +7,7 @@
# ============================================
# 避免重复 source
if [ -n "$_BASE_SETUP_LOADED" ]; then
if [ -n "${_BASE_SETUP_LOADED:-}" ]; then
return 0 2>/dev/null || true
fi
_BASE_SETUP_LOADED=1