mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
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:
@ -91,7 +91,7 @@ OPTIONS:
|
|||||||
(when (doom-profile-generate)
|
(when (doom-profile-generate)
|
||||||
(print! (item "Restart Emacs or use 'M-x doom/reload' for changes to take effect"))
|
(print! (item "Restart Emacs or use 'M-x doom/reload' for changes to take effect"))
|
||||||
(run-hooks 'doom-after-sync-hook))
|
(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
|
(with-temp-file doom-cli-sync-info-file
|
||||||
(prin1 (cons emacs-version (system-name)) (current-buffer))))
|
(prin1 (cons emacs-version (system-name)) (current-buffer))))
|
||||||
t)
|
t)
|
||||||
|
Reference in New Issue
Block a user