mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-01 20:28:16 +02:00
Move to .d directories for hooks instead of a single file
Easier to manage especially with separate installs
This commit is contained in:
@@ -22,6 +22,7 @@ fi
|
||||
if [[ -d $HOOK_DIR ]]; then
|
||||
for hook in "$HOOK_DIR"/*; do
|
||||
[[ -f $hook ]] || continue
|
||||
[[ $hook == *.sample ]] && continue
|
||||
bash "$hook" "$@"
|
||||
done
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user