[jhbuild: 1/2] improved error message for missing pkexec and sudo
- From: Christoph Reiter <creiter src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [jhbuild: 1/2] improved error message for missing pkexec and sudo
- Date: Fri, 12 Jul 2019 06:33:28 +0000 (UTC)
commit 5a430e2ccbc3f1c580f497d7db299966c08d10fd
Author: Karl-Philipp Richter <krichter722 aol de>
Date: Tue Sep 26 22:27:59 2017 +0200
improved error message for missing pkexec and sudo
jhbuild/utils/systeminstall.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/jhbuild/utils/systeminstall.py b/jhbuild/utils/systeminstall.py
index 03996214..50e92d3c 100644
--- a/jhbuild/utils/systeminstall.py
+++ b/jhbuild/utils/systeminstall.py
@@ -215,7 +215,7 @@ class SystemInstall(object):
elif cmds.has_command('sudo'):
self._root_command_prefix_args = ['sudo']
else:
- raise SystemExit(_('No suitable root privilege command found; you should install "pkexec"'))
+ raise SystemExit(_('No suitable root privilege command found; you should install "sudo" or
"pkexec" (or the system package that provides it)'))
def install(self, uninstalled):
"""Takes a list of pkg-config identifiers and uses a system-specific method to install them."""
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]