Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/devbot/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'devbot/plugins')
-rw-r--r--devbot/plugins/debian.py6
-rw-r--r--devbot/plugins/fedora.py6
2 files changed, 8 insertions, 4 deletions
diff --git a/devbot/plugins/debian.py b/devbot/plugins/debian.py
index a4e4d67..437846d 100644
--- a/devbot/plugins/debian.py
+++ b/devbot/plugins/debian.py
@@ -23,7 +23,8 @@ class PackageManager(interfaces.PackageManager):
args.append("install")
args.extend(packages)
- command.run_with_sudo(args, test=self._test)
+ command.run_with_sudo(args, test=self._test,
+ interactive=self._interactive)
def remove_packages(self, packages):
args = ["dpkg", "-P"]
@@ -41,7 +42,8 @@ class PackageManager(interfaces.PackageManager):
args.append("upgrade")
- command.run_with_sudo(args, test=self._test)
+ command.run_with_sudo(args, test=self._test,
+ interactive=self._interactive)
def find_all(self):
return [package.name for package in self._cache
diff --git a/devbot/plugins/fedora.py b/devbot/plugins/fedora.py
index 2e67674..d1a2936 100644
--- a/devbot/plugins/fedora.py
+++ b/devbot/plugins/fedora.py
@@ -19,7 +19,8 @@ class PackageManager(interfaces.PackageManager):
args.append("install")
args.extend(packages)
- command.run_with_sudo(args, test=self._test)
+ command.run_with_sudo(args, test=self._test,
+ interactive=self._interactive)
def remove_packages(self, packages):
args = ["rpm", "-e"]
@@ -35,7 +36,8 @@ class PackageManager(interfaces.PackageManager):
args.append("update")
- command.run_with_sudo(args, test=self._test)
+ command.run_with_sudo(args, test=self._test,
+ interactive=self._interactive)
def find_all(self):
query_format = "--queryformat=[%{NAME} ]"