Bugfix: Double updating #2, patch to the patch

This commit is contained in:
PentagonLP 2021-06-01 18:48:03 +02:00
parent 336da7f663
commit e9c87ba86a

1
ccpt
View File

@ -418,6 +418,7 @@ function upgradepackage(packageid,packageinfo)
installedpackages = readData("/.ccpt/installedpackages",true) installedpackages = readData("/.ccpt/installedpackages",true)
if installedpackages[packageid]==packageinfo["newestversion"] then if installedpackages[packageid]==packageinfo["newestversion"] then
properprint.pprint("'" .. packageid .. "' already updated! Skipping... (This is NOT an error)") properprint.pprint("'" .. packageid .. "' already updated! Skipping... (This is NOT an error)")
return true
else else
properprint.pprint("Updating '" .. packageid .. "' (" .. installedpackages[packageid] .. "->" .. packageinfo["newestversion"] .. ")...") properprint.pprint("Updating '" .. packageid .. "' (" .. installedpackages[packageid] .. "->" .. packageinfo["newestversion"] .. ")...")
end end