From c15593b7cd42cd0d2ea85a6ab464f75962be7921 Mon Sep 17 00:00:00 2001 From: Shad L. Lords Date: Mon, 26 Oct 2009 18:15:30 -0600 Subject: [PATCH] Make boot loader use SME labels --- partedUtils.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/partedUtils.py b/partedUtils.py index 704667d..388998a 100644 --- a/partedUtils.py +++ b/partedUtils.py @@ -473,8 +473,8 @@ def sniffFilesystemType(device): return None def getCentOSReleaseString(mountpoint): - if os.access(mountpoint + "/etc/redhat-release", os.R_OK): - f = open(mountpoint + "/etc/redhat-release", "r") + if os.access(mountpoint + "/etc/e-smith-release", os.R_OK): + f = open(mountpoint + "/etc/e-smith-release", "r") try: lines = f.readlines() except IOError: -- 1.5.5.6