summaryrefslogtreecommitdiff
path: root/scripts/build/config
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/config')
-rwxr-xr-xscripts/build/config10
1 files changed, 9 insertions, 1 deletions
diff --git a/scripts/build/config b/scripts/build/config
index 8e2109594..e6dcd4341 100755
--- a/scripts/build/config
+++ b/scripts/build/config
@@ -1312,11 +1312,19 @@ then
rmdir --ignore-fail-on-non-empty local > /dev/null 2>&1 || true
fi
-mkdir -p config/hooks/live
+mkdir -p config/hooks/normal 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/normal/*.hook* /usr/share/normal/build/hooks/normal/*.hook*
+do
+ if [ -e "${_HOOK}" ] && [ ! -e "config/hooks/normal/$(basename ${_HOOK})" ]
+ then
+ ln -s "${_HOOK}" "config/hooks/normal/$(basename ${_HOOK})"
+ fi
+done
+
for _HOOK in "${LIVE_BUILD}"/share/hooks/live/*.hook* /usr/share/live/build/hooks/live/*.hook*
do
if [ -e "${_HOOK}" ] && [ ! -e "config/hooks/live/$(basename ${_HOOK})" ]