File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -502,6 +502,7 @@ exec node "${repo_dir}/dist/entry.js" "\$@"
502502EOF
503503 chmod +x " $HOME /.local/bin/clawdbot"
504504 echo -e " ${SUCCESS} ✓${NC} Clawdbot wrapper installed to \$ HOME/.local/bin/clawdbot"
505+ echo -e " ${INFO} i${NC} This checkout uses pnpm. For deps, run: ${INFO} pnpm install${NC} (avoid npm install in the repo)."
505506}
506507
507508# Install Clawdbot
660661 install_clawdbot
661662 fi
662663
663- # Step 6: Run doctor for migrations if upgrading
664- if [[ " $is_upgrade " == " true" ]]; then
664+ # Step 6: Run doctor for migrations on upgrades and git installs
665+ local run_doctor_after=false
666+ if [[ " $is_upgrade " == " true" || " $INSTALL_METHOD " == " git" ]]; then
667+ run_doctor_after=true
668+ fi
669+ if [[ " $run_doctor_after " == " true" ]]; then
665670 run_doctor
666671 fi
667672
700705 fi
701706 fi
702707
708+ if command -v clawdbot & > /dev/null; then
709+ if clawdbot daemon status > /dev/null 2>&1 ; then
710+ echo -e " ${INFO} i${NC} Gateway daemon detected; restart with: ${INFO} clawdbot daemon restart${NC} "
711+ fi
712+ fi
713+
703714 echo " "
704715 echo -e " FAQ: ${INFO} https://docs.clawd.bot/start/faq${NC} "
705716}
You can’t perform that action at this time.
0 commit comments