diff options
author | amaciel <alvar@tuquito.org.ar> | 2011-05-11 18:15:16 (GMT) |
---|---|---|
committer | Sascha Silbe <sascha-pgp@silbe.org> | 2011-05-20 20:43:17 (GMT) |
commit | f163b0443b741701928a6cd11a6ce62727b99d2b (patch) | |
tree | eaffe9a3ef79a2a258a766c3c9d8815a08e250bf /sjhbuild/sysdeps.py | |
parent | 96effb1a92bb0a2bd70b5f7b84cd7ebaeb71e2a0 (diff) |
Adding support for Tuquito GNU/Linux distribution
Tuquito is a Ubuntu based distribution - http://www.tuquito.org.ar
Made in Argentina our goal is to make an usable distribution whit support
for educators from a collaborative learning perspective.
[turned 50tuquito-4.1.xml and 50tuquito-allversions.xml into symlinks to their
Ubuntu 10.10 counterparts]
Signed-off-by: Sascha Silbe <silbe@sugarlabs.org>
Diffstat (limited to 'sjhbuild/sysdeps.py')
-rw-r--r-- | sjhbuild/sysdeps.py | 3 |
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 |