From 10da6c3ec0843312fad315a01a9df5dea4f85b7c Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 5 Feb 2010 17:10:44 +0100 Subject: Dropping lh_ prefix from internal helpers, this is not user visible. --- helpers/lh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'helpers/lh') diff --git a/helpers/lh b/helpers/lh index c22f554d6..8ab9de2df 100755 --- a/helpers/lh +++ b/helpers/lh @@ -34,15 +34,15 @@ case "${1}" in COMMAND="${1}" shift - if [ -x "${LH_BASE}/helpers/lh_${COMMAND}" ] + if [ -x "${LH_BASE}/helpers/${COMMAND}" ] then - LH=1 exec "${LH_BASE}/helpers/lh_${COMMAND}" "${@}" - elif [ -x /usr/share/live-helper/helpers/lh_${COMMAND} ] + LH=1 exec "${LH_BASE}/helpers/${COMMAND}" "${@}" + elif [ -x /usr/share/live-helper/helpers/${COMMAND} ] then - LH=1 exec /usr/share/live-helper/helpers/lh_"${COMMAND}" "${@}" - elif [ -x "$(which lh_${COMMAND} 2>/dev/null)" ] + LH=1 exec /usr/share/live-helper/helpers/"${COMMAND}" "${@}" + elif [ -x "$(which ${COMMAND} 2>/dev/null)" ] then - LH=1 exec lh_"${COMMAND}" "${@}" + LH=1 exec "${COMMAND}" "${@}" else Echo_error "no such helper" exit 1 -- cgit v1.2.3