diff options
Diffstat (limited to 'scripts/build/config')
-rwxr-xr-x | scripts/build/config | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/build/config b/scripts/build/config index 5c0c92dd3..d713314ac 100755 --- a/scripts/build/config +++ b/scripts/build/config @@ -1312,16 +1312,16 @@ then rmdir --ignore-fail-on-non-empty local > /dev/null 2>&1 || true fi -mkdir -p config/hooks +mkdir -p config/hooks/live mkdir -p config/includes config/includes.bootstrap config/includes.chroot config/includes.binary config/includes.source Echo_message "Symlinking hooks..." -for _HOOK in "${LIVE_BUILD}"/share/hooks/*.hook* /usr/share/live/build/hooks/*.hook* +for _HOOK in "${LIVE_BUILD}"/share/hooks/live/*.hook* /usr/share/live/build/hooks/live/*.hook* do - if [ -e "${_HOOK}" ] && [ ! -e "config/hooks/$(basename ${_HOOK})" ] + if [ -e "${_HOOK}" ] && [ ! -e "config/hooks/live/$(basename ${_HOOK})" ] then - ln -s "${_HOOK}" "config/hooks/$(basename ${_HOOK})" + ln -s "${_HOOK}" "config/hooks/live/$(basename ${_HOOK})" fi done |