From 77791fdcece6dd49ec4f58228deb9b4695dd1735 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Sun, 24 Mar 2024 05:35:13 +0100 Subject: [PATCH] Fix non-functioning hook method --- scripts/Common/Scripts/hooks.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/Common/Scripts/hooks.sh b/scripts/Common/Scripts/hooks.sh index a144f3a9..06c104b0 100755 --- a/scripts/Common/Scripts/hooks.sh +++ b/scripts/Common/Scripts/hooks.sh @@ -1,8 +1,10 @@ #!/bin/bash function runHook() { + command="${@:2}"; + function fallback() { - ${@:2}; + $command; } if command -v $1 > /dev/null