cli/upgrade: don't use removed -f switch

This commit is contained in:
Henrik Lissner 2019-11-16 21:03:37 -05:00
parent f54d7a15cd
commit d474223a99
No known key found for this signature in database
GPG Key ID: 5F6C0EA160557395

View File

@ -18,7 +18,7 @@ following shell commands:
(doom-initialize)
(doom-initialize-packages)
(when (doom-cli-packages-update)
(doom-cli-reload-package-autoloads 'force-p))))
(doom-cli-reload-package-autoloads 'force))))
;;
@ -103,7 +103,7 @@ following shell commands:
(equal (vc-git--rev-parse "HEAD") new-rev))
(error "Failed to check out %s" (substring new-rev 0 10)))
(print! (success "Finished upgrading Doom Emacs")))
(doom-cli-execute "refresh" (append (if auto-accept-p '("-y")) '("-f")))
(doom-cli-execute "refresh" (if auto-accept-p '("-y")))
t)
(print! (success "Done! Restart Emacs for changes to take effect."))))))