From e9c87ba86ab64d4736047dc4b4e32991c1a1627a Mon Sep 17 00:00:00 2001 From: PentagonLP Date: Tue, 1 Jun 2021 18:48:03 +0200 Subject: [PATCH] Bugfix: Double updating #2, patch to the patch --- ccpt | 1 + 1 file changed, 1 insertion(+) diff --git a/ccpt b/ccpt index 2aaf746..1716c8d 100644 --- a/ccpt +++ b/ccpt @@ -418,6 +418,7 @@ function upgradepackage(packageid,packageinfo) installedpackages = readData("/.ccpt/installedpackages",true) if installedpackages[packageid]==packageinfo["newestversion"] then properprint.pprint("'" .. packageid .. "' already updated! Skipping... (This is NOT an error)") + return true else properprint.pprint("Updating '" .. packageid .. "' (" .. installedpackages[packageid] .. "->" .. packageinfo["newestversion"] .. ")...") end