diff options
author | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-11-16 14:25:53 (GMT) |
---|---|---|
committer | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-11-16 14:25:53 (GMT) |
commit | 267e9d4de8b5330025aaad788d676a09e17f49f4 (patch) | |
tree | 5fcb83e3d256518c894bcceaba64267b0e729460 /devbot/distro.py | |
parent | 07f237ba496428453896cdfaf9973c1a0590e10f (diff) |
Fix and enable package removal on ubuntu
Diffstat (limited to 'devbot/distro.py')
-rw-r--r-- | devbot/distro.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/devbot/distro.py b/devbot/distro.py index 76a7518..1a37bd5 100644 --- a/devbot/distro.py +++ b/devbot/distro.py @@ -90,10 +90,10 @@ class UbuntuPackageManager: command.run_with_sudo(args, test=self._test) def remove_packages(self, packages): - args = ["dpkg", "-e"] + args = ["dpkg", "-P"] args.extend(packages) - command.run_with_sudo(args, test=True) + command.run_with_sudo(args, test=self._test) def update(self): command.run_with_sudo(["apt-get", "update"], test=self._test) |