From c210b8ae444e088957461c9fb242ace1fa63e7b1 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 14 Aug 2010 20:29:05 +0200 Subject: Moving /usr/share/live-helper to /usr/share/live/build. --- scripts/build/chroot_hooks | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'scripts/build/chroot_hooks') diff --git a/scripts/build/chroot_hooks b/scripts/build/chroot_hooks index f5864d864..f5bce989f 100755 --- a/scripts/build/chroot_hooks +++ b/scripts/build/chroot_hooks @@ -10,7 +10,7 @@ set -e # Including common functions -. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh +. "${LH_BASE:-/usr/share/live/build}"/scripts/build.sh # Setting static variables DESCRIPTION="$(Echo 'execute hooks in chroot')" @@ -42,10 +42,10 @@ HOOKS="$(echo ${LH_HOOKS} ${LH_PACKAGES_LISTS} ${LH_TASKS} | sed -e 's| |\n|g' | for HOOK in ${HOOKS} do - if [ -f ${LH_BASE:-/usr/share/live-helper}/hooks/"${HOOK}" ] + if [ -f ${LH_BASE:-/usr/share/live/build}/hooks/"${HOOK}" ] then # Copying hook - cp ${LH_BASE:-/usr/share/live-helper}/hooks/"${HOOK}" chroot/root + cp ${LH_BASE:-/usr/share/live/build}/hooks/"${HOOK}" chroot/root # Making hook executable if [ ! -x chroot/root/"${HOOK}" ] -- cgit v1.2.3