summaryrefslogtreecommitdiff
path: root/scripts/build
diff options
context:
space:
mode:
authorDaniel Reichelt <debian@nachtgeist.net>2015-07-26 13:37:13 +0200
committerDaniel Reichelt <hacking@nachtgeist.net>2015-07-26 13:44:16 +0200
commit2a400dc63ec7305c80dd072984a14839aed74501 (patch)
tree4cb2e6a3a192af1248aa68c646ecbc80df7eaa59 /scripts/build
parent2792097208fd756eea203303244dd66cd39c7dd4 (diff)
downloadvyos-live-build-2a400dc63ec7305c80dd072984a14839aed74501.tar.gz
vyos-live-build-2a400dc63ec7305c80dd072984a14839aed74501.zip
Fix check for presence of chroot hooks
Diffstat (limited to 'scripts/build')
-rwxr-xr-xscripts/build/chroot_hooks2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/chroot_hooks b/scripts/build/chroot_hooks
index 140f932a3..4fbacdbf3 100755
--- a/scripts/build/chroot_hooks
+++ b/scripts/build/chroot_hooks
@@ -78,7 +78,7 @@ then
fi
## Processing local hooks
-if ls config/hooks/*.chroot > /dev/null 2>&1
+if ls config/hooks/normal/*.chroot config/hooks/live/*.chroot > /dev/null 2>&1
then
# Restoring cache
Restore_cache cache/packages.chroot