summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xhelpers/lh5
1 files changed, 4 insertions, 1 deletions
diff --git a/helpers/lh b/helpers/lh
index ecf9b4ad5..c22f554d6 100755
--- a/helpers/lh
+++ b/helpers/lh
@@ -34,7 +34,10 @@ case "${1}" in
COMMAND="${1}"
shift
- if [ -x /usr/share/live-helper/helpers/lh_${COMMAND} ]
+ if [ -x "${LH_BASE}/helpers/lh_${COMMAND}" ]
+ then
+ LH=1 exec "${LH_BASE}/helpers/lh_${COMMAND}" "${@}"
+ elif [ -x /usr/share/live-helper/helpers/lh_${COMMAND} ]
then
LH=1 exec /usr/share/live-helper/helpers/lh_"${COMMAND}" "${@}"
elif [ -x "$(which lh_${COMMAND} 2>/dev/null)" ]