From 9ce762a50229bebd07600f1c29167db31f8bfb53 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 26 Jan 2009 17:07:40 +0100 Subject: Using common function file to source shell includes. --- helpers/lh_chroot_sysv-rc | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'helpers/lh_chroot_sysv-rc') diff --git a/helpers/lh_chroot_sysv-rc b/helpers/lh_chroot_sysv-rc index f09977fbb..0f9250255 100755 --- a/helpers/lh_chroot_sysv-rc +++ b/helpers/lh_chroot_sysv-rc @@ -10,12 +10,7 @@ set -e # Including common functions -LH_BASE="${LH_BASE:-/usr/share/live-helper}" - -for FUNCTION in "${LH_BASE}"/functions/*.sh -do - . "${FUNCTION}" -done +. "${LH_BASE:-/usr/share/live-helper}"/functions.sh # Setting static variables DESCRIPTION="$(Echo 'manage /usr/sbin/policy-rc.d')" -- cgit v1.2.3