--- cdrom.image/sme9/product/installclasses/server.py 2013/12/01 21:06:44 1.8 +++ cdrom.image/sme9/product/installclasses/server.py 2014/03/18 14:54:09 1.9 @@ -185,6 +185,19 @@ class InstallClass(BaseInstallClass): if oldprod.startswith(productName): return True + productUpgrades = { + "SME Server": ("Mitel Networks", "SME Server", "e-smith server", ), + } + + if productUpgrades.has_key(productName): + acceptable = productUpgrades[productName] + else: + acceptable = () + + for p in acceptable: + if oldprod.startswith(p): + return True + return False def versionMatches(self, oldver):