From: vsr Date: Tue, 21 Jun 2005 06:46:21 +0000 (+0000) Subject: Fix a bug in runInstall script X-Git-Tag: V_2_2_4~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ef8df473dcebe75359cc44cc4264463087d13eac;p=tools%2Finstall.git Fix a bug in runInstall script --- diff --git a/runInstall b/runInstall index 0c275b9..d3d2725 100755 --- a/runInstall +++ b/runInstall @@ -487,7 +487,7 @@ if __name__ == "__main__": # define xml file ----------------- if (xml_file is None) : xml_file_name = "config.xml" - if os.path.exists("/proc/version"): + if os.path.exists("/etc/redhat-release"): data = open("/etc/redhat-release").readline() res = re.search(r'Red\s+Hat\s+Linux\s+release\s+([\d.]*)', data) if res is not None: