/[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.3 - (hide annotations) (download)
Mon Mar 30 09:17:13 2015 UTC (9 years, 7 months ago) by vip-ire
Branch: MAIN
CVS Tags: anaconda-13_21_229-1_el6_sme_3, anaconda-13_21_239-1_el6_sme_1, anaconda-13_21_239-1_el6_sme, anaconda-13_21_239_1-1_el6_sme, anaconda-13_21_254-1_el6_sme_1, anaconda-13_21_239-1_el6_sme_2
Changes since 1.2: +5 -5 lines
* Mon Mar 30 2015 Daniel Berteaud <daniel@firewall-services.com> - 13.21.229-1.el6.sme.3
- Update text when trying to update an older SME [SME: 8761]

1 vip-ire 1.3 diff -Nur anaconda-13.21.229/textw/upgrade_text.py anaconda-13.21.229_bz8761/textw/upgrade_text.py
2     --- anaconda-13.21.229/textw/upgrade_text.py 2015-03-30 11:13:55.394000000 +0200
3     +++ anaconda-13.21.229_bz8761/textw/upgrade_text.py 2015-03-30 11:15:09.923000000 +0200
4 wellsi 1.2 @@ -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 vip-ire 1.3 + if not desc.startswith('SME Server 9'):
9 wellsi 1.2 + sys_is_not_upgradeable = 1
10     + header = _("Wrong SME Server version found")
11 vip-ire 1.3 + reason = _("Your system %s is not upgradeable to SME Server 9.1" %(desc))
12 wellsi 1.2 +
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