Repository navigation
Conversation
Under a stripped environment (sudo, cron, timers) the script aborted on an unbound variable. Default to the packaged install path so package-backed systems continue to skip the dev checkout step. Fixes omacom#12858. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Automated AI review
Verified: The changed line fixes the abort reported in #12858. With
The empty-value row is a side benefit that the PR doesn't mention: git treats
|
|
Closing in favour of #12860, which predates this and also covers |
Fixes #12858.
omarchy updateaborted whenOMARCHY_PATHwas unset (e.g.sudo omarchy update, cron, timers) becauseomarchy-update-devreads it underset -uwithout a default.
/usr/share/omarchyso package-backed installs skip the devcheckout step instead of failing
Tested:
test/shell.d/update-dev-test.shverifies unsetOMARCHY_PATHbehaves likethe packaged path and does not invoke git
Generated with Devin