diff options
author | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-11-15 12:58:16 (GMT) |
---|---|---|
committer | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-11-15 12:58:16 (GMT) |
commit | 105d696bce5413e82ae69ac0fc8e2b39ba3a09ea (patch) | |
tree | f303ab77f30fe0656825a3a2653e8cd17cd990fb /devbot/distro.py | |
parent | 0a42212cbea1f687f3dc98538f2cc8f0008cc925 (diff) |
Implement update on ubuntu
Diffstat (limited to 'devbot/distro.py')
-rw-r--r-- | devbot/distro.py | 3 |
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 |