mirror of
https://github.com/certbot/certbot.git
synced 2026-08-01 16:19:13 +02:00
check platform with correct python
This commit is contained in:
@@ -2,11 +2,11 @@
|
||||
import pkg_resources
|
||||
import platform
|
||||
|
||||
if(platform.system() == ('FreeBSD' or 'Darwin')):
|
||||
if platform.system() in ('FreeBSD', 'Darwin'):
|
||||
server_root_tmp = "/usr/local/etc/nginx"
|
||||
else:
|
||||
server_root_tmp = "/etc/nginx"
|
||||
|
||||
|
||||
CLI_DEFAULTS = dict(
|
||||
server_root=server_root_tmp,
|
||||
ctl="nginx",
|
||||
|
||||
Reference in New Issue
Block a user