Merge pull request #525 from MitchWeaver/master

add OpenBSD support
This commit is contained in:
Steven Black
2018-03-03 17:05:50 -05:00
committed by GitHub
+4 -1
View File
@@ -38,7 +38,10 @@ else: # Python 2
raw_input = raw_input # noqa
# Syntactic sugar for "sudo" command in UNIX / Linux
SUDO = ["/usr/bin/env", "sudo"]
if platform.system() == "OpenBSD":
SUDO = ["/usr/bin/doas"]
else:
SUDO = ["/usr/bin/env", "sudo"]
# Project Settings