From 58210daf4490d352e46aef07dbebac1aff22f0a4 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Wed, 30 Jan 2008 21:29:55 +0000 Subject: [PATCH] arch linux file /etc/arch-release doesn't contain version number --- src/common/helpers.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/common/helpers.py b/src/common/helpers.py index 2c1786d31..940d6aaf9 100644 --- a/src/common/helpers.py +++ b/src/common/helpers.py @@ -784,7 +784,8 @@ def get_os_info(): 'sourcemage') or not\ os.path.basename(path_to_file).startswith('slackware'): text = distro_name + ' ' + text - elif path_to_file.endswith('aurox-release'): + elif path_to_file.endswith('aurox-release') or \ + path_to_file.endswith('arch-release'): # file doesn't have version text = distro_name elif path_to_file.endswith('lfs-release'): # file just has version