From 2f69a407f93d8baff25ea15a500427fdc79e9fdf Mon Sep 17 00:00:00 2001 From: Daniel Narvaez Date: Thu, 15 Nov 2012 20:47:11 +0000 Subject: Make apt-get upgrade non interactive --- (limited to 'devbot') diff --git a/devbot/distro.py b/devbot/distro.py index 0ac68ac..76a7518 100644 --- a/devbot/distro.py +++ b/devbot/distro.py @@ -97,7 +97,7 @@ class UbuntuPackageManager: def update(self): command.run_with_sudo(["apt-get", "update"], test=self._test) - command.run_with_sudo(["apt-get", "upgrade"], test=self._test) + command.run_with_sudo(["apt-get", "-y", "upgrade"], test=self._test) def find_all(self): return [package.name for package in self._cache -- cgit v0.9.1