lib: add support for custom env
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
111fbf119b
commit
eaeab27004
|
@ -58,4 +58,6 @@ def get_env() -> str:
|
|||
return "compose"
|
||||
if CONFIG.y_bool("debug"):
|
||||
return "dev"
|
||||
if "AK_APPLIANCE" in os.environ:
|
||||
return os.environ["AK_APPLIANCE"]
|
||||
return "custom"
|
||||
|
|
Reference in New Issue