diff options
author | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-12-10 23:51:55 (GMT) |
---|---|---|
committer | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-12-10 23:51:55 (GMT) |
commit | 3caabbed9f95de37367c0dd3b2f1e87edef471b2 (patch) | |
tree | d88e4fe957c4db88af8c7fcec3e5babff2f58308 /devbot/plugins/ubuntu.py | |
parent | a3c3f4aec4d08d4fde6b22ec0ed81c2b98a44243 (diff) |
Improve multilib support
Diffstat (limited to 'devbot/plugins/ubuntu.py')
-rw-r--r-- | devbot/plugins/ubuntu.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/devbot/plugins/ubuntu.py b/devbot/plugins/ubuntu.py index 140d8ad..005871c 100644 --- a/devbot/plugins/ubuntu.py +++ b/devbot/plugins/ubuntu.py @@ -17,7 +17,12 @@ class DistroInfo(interfaces.DistroInfo): self.gstreamer_version = "1.0" self.valid = True self.supported = (arch in ["i386", "i686", "x86_64"]) - self.use_lib64 = False + self.lib_dir = None + + if arch in ["i386", "i686"]: + self.lib_dir = "lib/i386-linux-gnu" + elif arch == "x86_64": + self.lib_dir = "lib/x86_64-linux-gnu" try: release = open(self._OS_RELEASE_PATH).read().strip() |