From 8b3eed6b3f96abe66d1c91273edd5921f11d3501 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 18 Apr 2010 14:43:23 +0200 Subject: Making sure live-helper.sh is sourced early enough wrt/ auto scripts. --- helpers/clean | 6 +++--- helpers/config | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/helpers/clean b/helpers/clean index 77fa1ab..6cafc6d 100755 --- a/helpers/clean +++ b/helpers/clean @@ -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="" diff --git a/helpers/config b/helpers/config index e2eff08..a341af6 100755 --- a/helpers/config +++ b/helpers/config @@ -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)')" -- cgit v1.0