Fix non-functioning hook method

This commit is contained in:
Manuel Thalmann 2024-03-24 05:35:13 +01:00
parent cf057d2a69
commit 3916255544

View file

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