From 105d696bce5413e82ae69ac0fc8e2b39ba3a09ea Mon Sep 17 00:00:00 2001 From: Daniel Narvaez Date: Thu, 15 Nov 2012 12:58:16 +0000 Subject: Implement update on ubuntu --- 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 -- cgit v0.9.1