summaryrefslogtreecommitdiff
path: root/functions/defaults.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2011-07-24 09:28:49 +0200
committerDaniel Baumann <daniel@debian.org>2011-07-24 09:28:49 +0200
commit046e32b5b0c11f10a1d5386375ae30f0835d0aee (patch)
treef52467e224d42033cf4dbed275bbae33a203206d /functions/defaults.sh
parentcfd7f3103b72b427ff194a9a2ec9182c6237990e (diff)
downloadvyos-live-build-046e32b5b0c11f10a1d5386375ae30f0835d0aee.tar.gz
vyos-live-build-046e32b5b0c11f10a1d5386375ae30f0835d0aee.zip
Add forgotten handling of already set chroot_hooks in defaults.
Diffstat (limited to 'functions/defaults.sh')
-rwxr-xr-xfunctions/defaults.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh
index 436b19d01..701ae3a25 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -584,16 +584,16 @@ Set_defaults ()
# Setting distribution hooks
case "${LB_MODE}" in
*)
- LB_CHROOT_HOOKS="update-apt-xapian-index \
+ LB_CHROOT_HOOKS="${LB_CHROOT_HOOKS:-update-apt-xapian-index \
update-mlocate-database \
- remove-python-py"
+ remove-python-py}"
;;
kubuntu)
- LB_CHROOT_HOOKS="update-apt-xapian-index \
+ LB_CHROOT_HOOKS="${LB_CHROOT_HOOKS:-update-apt-xapian-index \
update-mlocate-database \
remove-gnome-icon-cache \
- remove-python-py"
+ remove-python-py}"
;;
esac