Files
ipass__ipass/deploy
admin 354c58e721 fix(migrate-agent-home): 放宽 git 依赖,没 git 也能跑
脚本原硬要求 REPO_DIR 是 git repo,否则直接 exit。但 .11 上没装 git
的部署场景只 scp deploy/ 文件夹上来跑,git pull 那步根本不存在。

改成:
  * 必须有 $REPO_DIR/deploy/ipass-agent.py 文件(不强制 .git)
  * 如果 command -v git && [ -d .git ] 才尝试 pull,否则跳过
  * 缺文件时给 scp 提示(之前的错误信息只说"仓库不存在",新用户看不懂)
2026-09-16 11:43:47 +08:00
..