diff options
author | Guy Lunardi <guy.lunardi@collabora.com> | 2013-04-19 08:53:27 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2013-04-19 08:53:27 +0200 |
commit | a6c78c2810c96b04198d28ac2fe96169e6fafe59 (patch) | |
tree | 52f6770e380b4709276a0740ba6fb2e0d6d00392 | |
parent | dc82fbe59d7736eb056034396e06ff9534fa8ddf (diff) |
Add support for OpenSUSE 12.3
-rw-r--r-- | cerbero/enums.py | 1 | ||||
-rw-r--r-- | cerbero/utils/__init__.py | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/cerbero/enums.py b/cerbero/enums.py index b85d1ab..b5143a1 100644 --- a/cerbero/enums.py +++ b/cerbero/enums.py @@ -63,6 +63,7 @@ class DistroVersion: REDHAT_6 = 'redhat_6' OPENSUSE_12_1 = 'opensuse_12_1' OPENSUSE_12_2 = 'opensuse_12_2' + OPENSUSE_12_3 = 'opensuse_12_3' WINDOWS_XP = 'windows_xp' WINDOWS_VISTA = 'windows_vista' WINDOWS_7 = 'windows_7' diff --git a/cerbero/utils/__init__.py b/cerbero/utils/__init__.py index 5c5912a..93baf6b 100644 --- a/cerbero/utils/__init__.py +++ b/cerbero/utils/__init__.py @@ -165,6 +165,8 @@ def system_info(): distro_version = DistroVersion.OPENSUSE_12_1 elif d[1] == '12.2': distro_version = DistroVersion.OPENSUSE_12_2 + elif d[1] == '12.3': + distro_version = DistroVersion.OPENSUSE_12_3 else: # FIXME Fill this raise FatalError("Distribution OpenSuse '%s' " |