3
# lh(1) - generic live-helper wrapper
4
# Copyright (C) 2006-2010 Daniel Baumann <daniel@debian.org>
6
# live-helper comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
7
# This is free software, and you are welcome to redistribute it
8
# under certain conditions; see COPYING for details.
12
# Including common functions
13
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
15
# Setting static variables
16
DESCRIPTION="$(Echo 'utility to build Debian Live systems')"
22
if [ -x "$(which man 2>/dev/null)" ]
44
if [ -x "${LH_BASE}/helpers/${COMMAND}" ]
46
LH=1 exec "${LH_BASE}/helpers/${COMMAND}" "${@}"
47
elif [ -x /usr/share/live-helper/helpers/${COMMAND} ]
49
LH=1 exec /usr/share/live-helper/helpers/"${COMMAND}" "${@}"
50
elif [ -x "$(which ${COMMAND} 2>/dev/null)" ]
52
LH=1 exec "${COMMAND}" "${@}"
54
Echo_error "no such helper"