mirror of
https://github.com/certbot/certbot.git
synced 2026-06-08 16:22:18 -04:00
commit
4027911947
1 changed files with 3 additions and 8 deletions
|
|
@ -260,14 +260,9 @@ def diagnose_configurator_problem(cfg_type, requested, plugins):
|
|||
"your existing configuration.\nThe error was: {1!r}"
|
||||
.format(requested, plugins[requested].problem))
|
||||
elif cfg_type == "installer":
|
||||
if os.path.exists("/etc/debian_version"):
|
||||
# Debian... installers are at least possible
|
||||
msg = ('No installers seem to be present and working on your system; '
|
||||
'fix that or try running certbot with the "certonly" command')
|
||||
else:
|
||||
# XXX update this logic as we make progress on #788 and nginx support
|
||||
msg = ('No installers are available on your OS yet; try running '
|
||||
'"letsencrypt-auto certonly" to get a cert you can install manually')
|
||||
msg = ('No installer plugins seem to be present and working on your system; '
|
||||
'fix that or try running certbot with the "certonly" command to obtain'
|
||||
' a certificate you can install manually')
|
||||
else:
|
||||
msg = "{0} could not be determined or is not installed".format(cfg_type)
|
||||
raise errors.PluginSelectionError(msg)
|
||||
|
|
|
|||
Loading…
Reference in a new issue