From 079a49eaaa5a6bacca3181671abd8ebb72015fd1 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Sun, 21 Apr 2013 11:10:37 +0200 Subject: o Allowing the 'app' wrapper to run apps from libexec too. --- libexec/app-run-hook | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'libexec/app-run-hook') diff --git a/libexec/app-run-hook b/libexec/app-run-hook index f1b2457..9322fe4 100755 --- a/libexec/app-run-hook +++ b/libexec/app-run-hook @@ -43,7 +43,13 @@ then exit 0 fi -# TODO: remove after -#chmod +x $bin +chmod +x $bin + +if [[ ! -e $bin ]] +then + info "Not executable: $bin" + exit 0 +fi + debug "Running hook: $hook" run_app -v $version hooks/$hook -- cgit v1.2.3