Attempt to install package first when upgrading
authorPhilip Kaludercic <philipk@posteo.net>
Sat, 7 Dec 2024 19:02:00 +0000 (20:02 +0100)
committerPhilip Kaludercic <philipk@posteo.net>
Sat, 7 Dec 2024 19:02:58 +0000 (20:02 +0100)
commit3d8e49c41a66a7f05cb96f84e2a10f0f308ac9ca
treeff73ffff4c301fbfafb6b8e3477708c113475d7b
parent4f2a21cc2a369341b91bb3657e851bdc75e5e053
Attempt to install package first when upgrading

* lisp/emacs-lisp/package.el (package-upgrade): Swap the
'package-install' and the 'package-delete' invocations.
(Bug#74556)
lisp/emacs-lisp/package.el