Addjusting lh helper to be called from lh_local.
This commit is contained in:
parent
f40522b7d8
commit
c3123302c9
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh -x
|
||||||
|
|
||||||
# live-helper(1) - utility to build Debian Live systems
|
# live-helper(1) - utility to build Debian Live systems
|
||||||
# Copyright (C) 2006-2007 Daniel Baumann <daniel@debian.org>
|
# Copyright (C) 2006-2007 Daniel Baumann <daniel@debian.org>
|
||||||
|
@ -49,9 +49,9 @@ case "${1}" in
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*)
|
*)
|
||||||
if [ -x /usr/bin/lh_"${1}" ]
|
if [ ! -z "$(whereis lh_${1})" ]
|
||||||
then
|
then
|
||||||
exec /usr/bin/lh_"${1}" $(echo ${@} | sed -e "s/${1}//")
|
exec lh_"${1}" $(echo ${@} | sed -e "s/${1}//")
|
||||||
else
|
else
|
||||||
Echo_error "no such helper"
|
Echo_error "no such helper"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Reference in New Issue