Bugfix: Double update in edge case
This commit is contained in:
2
ccpt
2
ccpt
@@ -416,7 +416,7 @@ function upgradepackage(packageid,packageinfo)
|
||||
end
|
||||
|
||||
installedpackages = readData("/.ccpt/installedpackages",true)
|
||||
if installedpackages==packageinfo["newestversion"] then
|
||||
if installedpackages[packageid]==packageinfo["newestversion"] then
|
||||
properprint.pprint("'" .. packageid .. "' already updated! Skipping... (This is NOT an error)")
|
||||
else
|
||||
properprint.pprint("Updating '" .. packageid .. "' (" .. installedpackages[packageid] .. "->" .. packageinfo["newestversion"] .. ")...")
|
||||
|
||||
Reference in New Issue
Block a user