From 28e7635c0f46079b820848a62fed043450d8653b Mon Sep 17 00:00:00 2001 From: Oscar Benedito Date: Mon, 2 May 2022 18:53:48 +0200 Subject: [PATCH] fix: Don't try to clone existing pinned packages --- lua/paq.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/paq.lua b/lua/paq.lua index 9306cc6..dbdadc0 100644 --- a/lua/paq.lua +++ b/lua/paq.lua @@ -152,7 +152,7 @@ end local function clone_or_pull(pkg, counter) if pkg.exists and not pkg.pin then pull(pkg, counter, "update") - else + elseif not pkg.exists then clone(pkg, counter, "install") end end