fix: restart the service after a branch build installs #151
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/install-script-service-restart"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
build-branch-and-install.shinstalls the new package but leaves the root service running the old code. During #146's live verification this produced a confusing symptom: the import "failed with no error" because the running service predated the build that logs handled failures. The.installhook's restart reminder scrolls past inside makepkg output, and the GUI's version-mismatch warning comparesVERSION, which dev builds share on both sides.Fix
The script runs
sudo systemctl try-restart aqomuiaftermakepkg -siand prints a reminder to relaunch the GUI.Verification
bash -nclean; the failure mode it prevents is exactly what happened live at 14:24 today (package installed 14:24:39, service still running since 14:10:27).🤖 Generated with Claude Code