mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] Take care of hook priority
This commit is contained in:
parent
7d99cd8f4d
commit
94b45bbecb
1 changed files with 1 additions and 1 deletions
2
hook.py
2
hook.py
|
@ -94,7 +94,7 @@ def hook_callback(action, args=None):
|
|||
elif not isinstance(args, list):
|
||||
args = [args]
|
||||
|
||||
for hook in os.listdir(hook_folder + action):
|
||||
for hook in sorted(os.listdir(hook_folder + action)):
|
||||
try:
|
||||
hook_exec(file=hook_folder + action +'/'+ hook, args=args)
|
||||
except: pass
|
||||
|
|
Loading…
Add table
Reference in a new issue