Making sure live-helper.sh is sourced early enough wrt/ auto scripts.
This commit is contained in:
parent
d1612f05af
commit
8b3eed6b3f
|
@ -9,6 +9,9 @@
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
# Including common functions
|
||||||
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
# Read meta config
|
# Read meta config
|
||||||
if [ "${1}" != "noauto" ] && [ -x auto/clean ]
|
if [ "${1}" != "noauto" ] && [ -x auto/clean ]
|
||||||
then
|
then
|
||||||
|
@ -21,9 +24,6 @@ then
|
||||||
shift
|
shift
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Including common functions
|
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
|
||||||
|
|
||||||
# Setting static variables
|
# Setting static variables
|
||||||
DESCRIPTION="$(Echo 'clean up system build directories')"
|
DESCRIPTION="$(Echo 'clean up system build directories')"
|
||||||
HELP=""
|
HELP=""
|
||||||
|
|
|
@ -9,6 +9,9 @@
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
# Including common functions
|
||||||
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
# Read meta config
|
# Read meta config
|
||||||
if [ "${1}" != "noauto" ] && [ -x auto/config ]
|
if [ "${1}" != "noauto" ] && [ -x auto/config ]
|
||||||
then
|
then
|
||||||
|
@ -21,9 +24,6 @@ then
|
||||||
shift
|
shift
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Including common functions
|
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
|
||||||
|
|
||||||
# Setting static variables
|
# Setting static variables
|
||||||
SYSTEM_LH_CONFFILE="/etc/default/live-helper"
|
SYSTEM_LH_CONFFILE="/etc/default/live-helper"
|
||||||
DESCRIPTION="$(Echo 'create configuration for live-helper(7)')"
|
DESCRIPTION="$(Echo 'create configuration for live-helper(7)')"
|
||||||
|
|
Loading…
Reference in New Issue