Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sjhbuild/sysdeps.py
diff options
context:
space:
mode:
Diffstat (limited to 'sjhbuild/sysdeps.py')
-rw-r--r--sjhbuild/sysdeps.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sjhbuild/sysdeps.py b/sjhbuild/sysdeps.py
index 7aeb026..cf851af 100644
--- a/sjhbuild/sysdeps.py
+++ b/sjhbuild/sysdeps.py
@@ -15,6 +15,7 @@ _UNSTABLE_NAMES = {
'fedora': 'rawhide',
'mandrivalinux': 'cooker',
'ubuntu': 'unstable',
+ 'tuquito':'unstable',
}
@@ -49,7 +50,7 @@ def check_package(package):
if name in ['fedora', 'mandrivalinux']:
ret = subprocess.call(['rpm', '--quiet', '-q', package])
return ret == 0
- elif name in ['ubuntu', 'debian']:
+ elif name in ['ubuntu', 'debian', 'tuquito']:
cmd = ["dpkg-query", "-f='${status}'", "-W", package]
out, err_ = subprocess.Popen(cmd, stdout=subprocess.PIPE).communicate()
return out.find('install ok installed') != -1