From a000b71c673d8a77b4c99ce49f25f92abd0fb0b7 Mon Sep 17 00:00:00 2001
From: Case Duckworth
Date: Sat, 13 Jul 2024 00:35:34 -0500
Subject: Fix package-ensure

---
 emacs.d/early-init.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/emacs.d/early-init.el b/emacs.d/early-init.el
index 1a5d9a5..6872b84 100644
--- a/emacs.d/early-init.el
+++ b/emacs.d/early-init.el
@@ -232,8 +232,7 @@ REQUIRE means require it after ensuring it's installed."
                 (package-vc-install pkgspec)
                 t)
               (if no-error nil
-                (error "Can't find package: %s" pkg))))
-      (package-vc-install pkgspec))
+                (error "Can't find package: %s" pkg)))))
     (when require (require pkg))))
 
 (defun popup-eshell (arg)
-- 
cgit 1.4.1-21-gabe81