fix(cli): doom sync: rebuild-all loop
Addresses an edge case where 'doom sync' could fall into an inescapable 'rebuild all packages' loop. Fix: #7775
This commit is contained in:
parent
65240e9b92
commit
b01e496405
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ OPTIONS:
|
|||
(when (doom-profile-generate)
|
||||
(print! (item "Restart Emacs or use 'M-x doom/reload' for changes to take effect"))
|
||||
(run-hooks 'doom-after-sync-hook))
|
||||
(when (and (not rebuild?) (not nobuild?))
|
||||
(when (or rebuild? (not (file-exists-p doom-cli-sync-info-file)))
|
||||
(with-temp-file doom-cli-sync-info-file
|
||||
(prin1 (cons emacs-version (system-name)) (current-buffer))))
|
||||
t)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue