[Sugar-devel] [PATCH] adding-suport-for-tuquito-gnu-linux-distribution

Alvar Maciel alvar at tuquito.org.ar
Sat May 14 12:43:47 EDT 2011


From: Alvar maciel <alvar at tuquito.org.ar>

---
 sjhbuild/sysdeps.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/sjhbuild/sysdeps.py b/sjhbuild/sysdeps.py
index 7aeb026..96ae074 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
-- 
1.7.1



More information about the Sugar-devel mailing list