mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Support .sh as an exception for bash hooks
This commit is contained in:
parent
8c4d136a7f
commit
81843b2b95
1 changed files with 1 additions and 1 deletions
|
@ -329,7 +329,7 @@ def hook_exec(path, args=None, raise_on_error=False, no_trace=False,
|
|||
else:
|
||||
# TODO / FIXME : if needed in the future, implement support for other
|
||||
# languages...
|
||||
assert hook_ext == "", "hook_exec only supports bash and python hooks for now"
|
||||
assert hook_ext in ["", ".sh"], "hook_exec only supports bash and python hooks for now"
|
||||
|
||||
# Define output loggers and call command
|
||||
loggers = (
|
||||
|
|
Loading…
Add table
Reference in a new issue