/[smeserver]/rpms/anaconda/sme9/0020-PreventTooOldUpgrades.patch
ViewVC logotype

Annotation of /rpms/anaconda/sme9/0020-PreventTooOldUpgrades.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (hide annotations) (download)
Sun Mar 30 04:29:52 2014 UTC (10 years, 2 months ago) by wellsi
Branch: MAIN
CVS Tags: anaconda-13_21_215-1_el6_sme_11, anaconda-13_21_215-1_el6_sme_12, anaconda-13_21_229-1_el6_sme_2, anaconda-13_21_229-1_el6_sme_1
Changes since 1.1: +10 -10 lines
Un-reverse the last two patches

1 wellsi 1.2 diff -ruN anaconda-13.21.215.p19/textw/upgrade_text.py anaconda-13.21.215.p20/textw/upgrade_text.py
2     --- anaconda-13.21.215.p19/textw/upgrade_text.py 2014-03-29 21:22:36.000000000 -0700
3     +++ anaconda-13.21.215.p20/textw/upgrade_text.py 2014-03-29 21:24:12.000000000 -0700
4     @@ -252,6 +252,12 @@
5 wellsi 1.1 header = _("Wrong SME server version")
6     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)
7    
8 wellsi 1.2 + if not desc.startswith('SME Server 9.0'):
9     + sys_is_not_upgradeable = 1
10     + header = _("Wrong SME Server version found")
11     + reason = _("Your system %s is not upgradeable to SME Server 9.0" %(desc))
12     +
13     +
14 wellsi 1.1 if sys_is_not_upgradeable:
15     partList.append(_("Reboot system"))
16     (button, choice) = ListboxChoiceWindow(screen, header,

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed