diff options
Diffstat (limited to 'devbot')
-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) |