Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Narvaez <dwnarvaez@gmail.com>2012-11-15 12:58:16 (GMT)
committer Daniel Narvaez <dwnarvaez@gmail.com>2012-11-15 12:58:16 (GMT)
commit105d696bce5413e82ae69ac0fc8e2b39ba3a09ea (patch)
treef303ab77f30fe0656825a3a2653e8cd17cd990fb
parent0a42212cbea1f687f3dc98538f2cc8f0008cc925 (diff)
Implement update on ubuntu
-rw-r--r--devbot/distro.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/devbot/distro.py b/devbot/distro.py
index 65faee7..e20cb3e 100644
--- a/devbot/distro.py
+++ b/devbot/distro.py
@@ -90,7 +90,8 @@ class UbuntuPackageManager:
raise NotImplementedError
def update(self):
- pass
+ command.run_with_sudo(["apt-get", "update"], test=self._test)
+ command.run_with_sudo(["apt-get", "upgrade"], test=self._test)
def find_with_deps(self, package_names):
raise NotImplementedError