Making sure live-helper.sh is sourced early enough wrt/ auto scripts.

This commit is contained in:
Daniel Baumann 2010-04-18 14:43:23 +02:00
parent d1612f05af
commit 8b3eed6b3f
2 changed files with 6 additions and 6 deletions

View File

@ -9,6 +9,9 @@
set -e
# Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
# Read meta config
if [ "${1}" != "noauto" ] && [ -x auto/clean ]
then
@ -21,9 +24,6 @@ then
shift
fi
# Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
# Setting static variables
DESCRIPTION="$(Echo 'clean up system build directories')"
HELP=""

View File

@ -9,6 +9,9 @@
set -e
# Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
# Read meta config
if [ "${1}" != "noauto" ] && [ -x auto/config ]
then
@ -21,9 +24,6 @@ then
shift
fi
# Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
# Setting static variables
SYSTEM_LH_CONFFILE="/etc/default/live-helper"
DESCRIPTION="$(Echo 'create configuration for live-helper(7)')"