From: maintenance team Date: Wed, 26 Apr 2006 13:08:11 +0000 (+0000) Subject: Update runInstall file for installation on Mandriva 2006 X-Git-Tag: mergeto_SALOME_3_17May06~19 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a33dabfe5053bcc3edb6e4b64a60338cddecd11e;p=tools%2Finstall.git Update runInstall file for installation on Mandriva 2006 --- diff --git a/runInstall b/runInstall index 8472253..e4811f1 100755 --- a/runInstall +++ b/runInstall @@ -879,6 +879,13 @@ if __name__ == "__main__": plt_name = "Debian" plt_ver = open("/etc/debian_version").readline().strip() _xml_file_name = "config_%s_%s.xml"%(plt_name, plt_ver) + if plt_name and plt_ver and os.path.exists("%s/%s"%(cur_dir, _xml_file_name)): + xml_file_name = _xml_file_name + elif os.path.exists("/etc/mandriva_release"): + # - Mandriva 2006 + plt_name = "Mandriva" + plt_ver = open("/etc/mandriva_release").readline().strip() + _xml_file_name = "config_%s_%s.xml"%(plt_name, plt_ver) if plt_name and plt_ver and os.path.exists("%s/%s"%(cur_dir, _xml_file_name)): xml_file_name = _xml_file_name else: