diff options
author | Daniel Baumann <daniel@debian.org> | 2009-11-15 21:52:23 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2009-11-22 14:38:33 +0100 |
commit | fbad988b41c31307782695eb8926a1c8b90929cb (patch) | |
tree | f13437ec5fb2b6a10ac33d53ef27d1347525730a /helpers | |
parent | 5107fd236fb078b23c0e239c5ab6ffdaef98bc49 (diff) | |
download | vyos-live-build-fbad988b41c31307782695eb8926a1c8b90929cb.tar.gz vyos-live-build-fbad988b41c31307782695eb8926a1c8b90929cb.zip |
Installing helpers to /usr/share/live-helper/helpers instead of /usr/bin.
Diffstat (limited to 'helpers')
-rwxr-xr-x | helpers/lh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/helpers/lh b/helpers/lh index dd9c54543..ecf9b4ad5 100755 --- a/helpers/lh +++ b/helpers/lh @@ -34,7 +34,10 @@ case "${1}" in COMMAND="${1}" shift - if [ -x "$(which lh_${COMMAND} 2>/dev/null)" ] + if [ -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)" ] then LH=1 exec lh_"${COMMAND}" "${@}" else |