From fcf8dc1e73f8da5a67639a89940fd10744d03915 Mon Sep 17 00:00:00 2001 From: tomeu Date: Tue, 17 Mar 2009 17:57:05 +0000 Subject: Add Mandriva support --- diff --git a/config/sysdeps/mandrivalinux-2009.1.xml b/config/sysdeps/mandrivalinux-2009.1.xml new file mode 100644 index 0000000..6f9277e --- /dev/null +++ b/config/sysdeps/mandrivalinux-2009.1.xml @@ -0,0 +1,73 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sjhbuild/sysdeps.py b/sjhbuild/sysdeps.py index b398cff..cd92253 100644 --- a/sjhbuild/sysdeps.py +++ b/sjhbuild/sysdeps.py @@ -46,7 +46,7 @@ def get_distribution(): def check_package(package): name, version = get_distribution() - if name == 'fedora': + if name in ['fedora', 'mandrivalinux']: ret = subprocess.call(['rpm', '--quiet', '-q', package]) return ret == 0 elif name in ['ubuntu', 'debian']: -- cgit v0.9.1