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

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

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


Revision 1.4 - (show annotations) (download)
Tue Mar 14 17:14:35 2017 UTC (7 years, 8 months ago) by unnilennium
Branch: MAIN
CVS Tags: anaconda-13_21_263-1_el6_sme_1, anaconda-13_21_254-1_el6_sme_2, HEAD
Changes since 1.3: +1 -1 lines
* Tue Mar 14 2017 Jean-Philipe Pialasse <tests@pialasse.com> 13.21.254-1.sme.2
- fix remove reference to SME 9.1 [SME: 10153]

1 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 @@ -252,6 +252,12 @@
5 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 + if not desc.startswith('SME Server 9'):
9 + sys_is_not_upgradeable = 1
10 + header = _("Wrong SME Server version found")
11 + reason = _("Your system %s is not upgradeable this to SME Server 9.x version " %(desc))
12 +
13 +
14 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