commit | 90b97ff1834d2c65df82d9b830be7ebb1dbf2167 | [log] [tgz] |
---|---|---|
author | mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> | Tue Mar 10 20:29:01 2009 +0000 |
committer | mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> | Tue Mar 10 20:29:01 2009 +0000 |
tree | 6934c63e6dfa921118200097075e17c26e52382d | |
parent | 82b0b06da343e8679adef195fa81009055606962 [diff] |
Detect openSUSE/SLES systems more reliably. Signed-off-by: Jiri Benc <[email protected]> git-svn-id: http://test.kernel.org/svn/autotest/trunk@2864 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/client/bin/base_utils.py b/client/bin/base_utils.py index 9fb7a68..fbb6b7d 100755 --- a/client/bin/base_utils.py +++ b/client/bin/base_utils.py
@@ -166,6 +166,9 @@ def get_os_vendor(): """Try to guess what's the os vendor """ + if os.path.isfile('/etc/SuSE-release'): + return 'SUSE' + issue = '/etc/issue' if not os.path.isfile(issue):