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

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

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

Revision 1.2 by wellsi, Sun Mar 30 04:29:52 2014 UTC Revision 1.4 by unnilennium, Tue Mar 14 17:14:35 2017 UTC
# Line 1  Line 1 
1  diff -ruN anaconda-13.21.215.p19/textw/upgrade_text.py anaconda-13.21.215.p20/textw/upgrade_text.py  diff -Nur anaconda-13.21.229/textw/upgrade_text.py anaconda-13.21.229_bz8761/textw/upgrade_text.py
2  --- anaconda-13.21.215.p19/textw/upgrade_text.py        2014-03-29 21:22:36.000000000 -0700  --- anaconda-13.21.229/textw/upgrade_text.py    2015-03-30 11:13:55.394000000 +0200
3  +++ anaconda-13.21.215.p20/textw/upgrade_text.py        2014-03-29 21:24:12.000000000 -0700  +++ anaconda-13.21.229_bz8761/textw/upgrade_text.py     2015-03-30 11:15:09.923000000 +0200
4  @@ -252,6 +252,12 @@  @@ -252,6 +252,12 @@
5               header = _("Wrong SME server version")               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)               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.0'):  +        if not desc.startswith('SME Server 9'):
9  +            sys_is_not_upgradeable = 1  +            sys_is_not_upgradeable = 1
10  +            header = _("Wrong SME Server version found")  +            header = _("Wrong SME Server version found")
11  +            reason = _("Your system %s is not upgradeable to SME Server 9.0" %(desc))  +            reason = _("Your system %s is not upgradeable this to SME Server 9.x version " %(desc))
12  +  +
13  +  +
14           if sys_is_not_upgradeable:           if sys_is_not_upgradeable:


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

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