Patch from rmiddleton for updatecheck.isItemInstallInfo() -- fixes issue with multiple updates with the same name (but different versions) that need to be applied in a single session.

This commit is contained in:
Greg Neagle
2013-03-11 08:18:08 -07:00
parent cce11a4fc0
commit 1ac91e8b44
+4 -3
View File
@@ -851,10 +851,11 @@ def isItemInInstallInfo(manifestitem_pl, thelist, vers=''):
if (item['name'] == manifestitem_pl['name']):
if not vers:
return True
if item.get('installed'):
#if the version already installed or processed to be
#installed is the same or greater, then we're good.
if item.get('installed') and (compareVersions(
item.get('installed_version'), vers) in (1, 2)):
return True
#if the version already processed is the same or greater,
#then we're good
if (compareVersions(
item.get('version_to_install'), vers) in (1, 2)):
return True