From a33dabfe5053bcc3edb6e4b64a60338cddecd11e Mon Sep 17 00:00:00 2001 From: maintenance team Date: Wed, 26 Apr 2006 13:08:11 +0000 Subject: [PATCH] Update runInstall file for installation on Mandriva 2006 --- runInstall | 7 +++++++ 1 file changed, 7 insertions(+) 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: -- 2.39.2