mirror of
https://github.com/certbot/certbot.git
synced 2026-08-03 16:12:13 +02:00
Handle exe checks for distros missing some of the helper scripts
This commit is contained in:
@@ -138,6 +138,7 @@ class ApacheConfigurator(augeas_configurator.AugeasConfigurator):
|
|||||||
"""
|
"""
|
||||||
# Verify Apache is installed
|
# Verify Apache is installed
|
||||||
for exe in (self.conf("ctl"), self.conf("enmod"), self.conf("dismod")):
|
for exe in (self.conf("ctl"), self.conf("enmod"), self.conf("dismod")):
|
||||||
|
if exe != None:
|
||||||
if not le_util.exe_exists(exe):
|
if not le_util.exe_exists(exe):
|
||||||
raise errors.NoInstallationError
|
raise errors.NoInstallationError
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user