From 046e32b5b0c11f10a1d5386375ae30f0835d0aee Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 24 Jul 2011 09:28:49 +0200 Subject: Add forgotten handling of already set chroot_hooks in defaults. --- functions/defaults.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'functions') 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 -- cgit v1.2.3