/[smeserver]/rpms/smolt/sme7/smolt-0.9.8.1-motd.patch
ViewVC logotype

Annotation of /rpms/smolt/sme7/smolt-0.9.8.1-motd.patch

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


Revision 1.1 - (hide annotations) (download)
Mon Jan 7 18:49:37 2008 UTC (16 years, 10 months ago) by bytegw
Branch: MAIN
CVS Tags: smolt-0_9_8_1-8_el4_sme, smolt-0_9_8_1-7_el4_sme
Updates

1 bytegw 1.1 diff -Nur -x '*.orig' -x '*.rej' smolt-0.9.8.1/client/software.py mezzanine_patched_smolt-0.9.8.1/client/software.py
2     --- smolt-0.9.8.1/client/software.py 2007-05-24 12:54:23.000000000 -0600
3     +++ mezzanine_patched_smolt-0.9.8.1/client/software.py 2008-01-07 00:26:18.000000000 -0700
4     @@ -40,9 +40,9 @@
5    
6     def read_os():
7     try:
8     - return file('/etc/redhat-release').read().strip()
9     + return file('/etc/e-smith-release').read().strip()
10     except IOError:
11     try:
12     - return file('/etc/SuSE-release').read().split('\n')[0].strip()
13     + return file('/etc/redhat-release').read().strip()
14     except IOError:
15     return 'Unknown'

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