Bugfix: Double updating #2, patch to the patch
This commit is contained in:
parent
336da7f663
commit
e9c87ba86a
1
ccpt
1
ccpt
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user