1 |
slords |
1.1 |
--- booty-0.44.6/butil.py.sme 2004-04-19 14:13:14.000000000 -0600 |
2 |
|
|
+++ booty-0.44.6/butil.py 2008-03-18 16:58:38.000000000 -0600 |
3 |
|
|
@@ -134,9 +134,9 @@ |
4 |
|
|
|
5 |
|
|
# returns a product name to use for the boot loader string |
6 |
|
|
def getProductName(): |
7 |
|
|
- # try redhat-release first |
8 |
|
|
- if os.access("/etc/redhat-release", os.R_OK): |
9 |
|
|
- f = open("/etc/redhat-release", "r") |
10 |
|
|
+ # try e-smith-release first |
11 |
|
|
+ if os.access("/etc/e-smith-release", os.R_OK): |
12 |
|
|
+ f = open("/etc/e-smith-release", "r") |
13 |
|
|
lines = f.readlines() |
14 |
|
|
f.close() |
15 |
|
|
for buf in lines: |