summaryrefslogtreecommitdiff
path: root/helpers/lh_chroot_hooks
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/lh_chroot_hooks')
-rwxr-xr-xhelpers/lh_chroot_hooks7
1 files changed, 1 insertions, 6 deletions
diff --git a/helpers/lh_chroot_hooks b/helpers/lh_chroot_hooks
index 64a6526..aa0e875 100755
--- a/helpers/lh_chroot_hooks
+++ b/helpers/lh_chroot_hooks
@@ -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 'execute hooks in chroot')"