Fix non-functioning hook method

This commit is contained in:
Manuel Thalmann 2024-03-24 05:35:13 +01:00
parent e0c13cd52d
commit 77791fdcec

View file

@ -1,8 +1,10 @@
#!/bin/bash
function runHook() {
command="${@:2}";
function fallback() {
${@:2};
$command;
}
if command -v $1 > /dev/null