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

Contents 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.2 - (show annotations) (download)
Thu Mar 4 00:49:44 2010 UTC (14 years, 8 months ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
Upgrade

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