diff --git a/core/cli/packages.el b/core/cli/packages.el index 77e1ca362..a6c7ec4e5 100644 --- a/core/cli/packages.el +++ b/core/cli/packages.el @@ -108,16 +108,18 @@ list remains lean." (recipe package type local-repo) (let ((esc (unless doom-debug-mode "\033[1A")) (ref (straight-vc-get-commit type local-repo)) - newref) + newref output) (print! (start "\033[KUpdating recipes for %s...%s") package esc) (when (straight-vc-fetch-from-remote recipe) (setq output (straight--process-get-output)) (straight-merge-package package) - (or (equal ref (setq newref (straight-vc-get-commit type local-repo))) - (print! (success "\033[K%s updated (%s -> %s)") - package - (doom--abbrev-commit ref) - (doom--abbrev-commit newref))))))) + (unless (equal ref (setq newref (straight-vc-get-commit type local-repo))) + (print! (success "\033[K%s updated (%s -> %s)") + package + (doom--abbrev-commit ref) + (doom--abbrev-commit newref)) + (unless (string-empty-p output) + (print-group! (print! (info "%s" output))))))))) (setq straight--recipe-lookup-cache (make-hash-table :test #'eq) doom--cli-updated-recipes t)))