--- rpms/anaconda/sme9/0020-PreventTooOldUpgrades.patch 2014/03/29 23:07:17 1.1 +++ rpms/anaconda/sme9/0020-PreventTooOldUpgrades.patch 2017/03/14 17:14:35 1.4 @@ -1,16 +1,16 @@ -diff -ruN anaconda-13.21.215/textw/upgrade_text.py anaconda-13.21.215.white/textw/upgrade_text.py ---- anaconda-13.21.215/textw/upgrade_text.py 2014-03-29 16:00:27.000000000 -0700 -+++ anaconda-13.21.215.white/textw/upgrade_text.py 2014-03-29 15:57:55.000000000 -0700 -@@ -252,12 +252,6 @@ +diff -Nur anaconda-13.21.229/textw/upgrade_text.py anaconda-13.21.229_bz8761/textw/upgrade_text.py +--- anaconda-13.21.229/textw/upgrade_text.py 2015-03-30 11:13:55.394000000 +0200 ++++ anaconda-13.21.229_bz8761/textw/upgrade_text.py 2015-03-30 11:15:09.923000000 +0200 +@@ -252,6 +252,12 @@ header = _("Wrong SME server version") reason = _("Your system is not upgradeable using this version of SME server. The currently installed system is a %s bit version, but this version of SME server is a %s bit version.") % (arch, cur_arch) -- if not desc.startswith('SME Server 9.0'): -- sys_is_not_upgradeable = 1 -- header = _("Wrong SME Server version found") -- reason = _("Your system %s is not upgradeable to SME Server 9.0" %(desc)) -- -- ++ if not desc.startswith('SME Server 9'): ++ sys_is_not_upgradeable = 1 ++ header = _("Wrong SME Server version found") ++ reason = _("Your system %s is not upgradeable this to SME Server 9.x version " %(desc)) ++ ++ if sys_is_not_upgradeable: partList.append(_("Reboot system")) (button, choice) = ListboxChoiceWindow(screen, header,