diff options
author | Daniel Baumann <daniel@debian.org> | 2011-07-24 09:28:49 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-07-24 09:28:49 +0200 |
commit | 046e32b5b0c11f10a1d5386375ae30f0835d0aee (patch) | |
tree | f52467e224d42033cf4dbed275bbae33a203206d /functions/defaults.sh | |
parent | cfd7f3103b72b427ff194a9a2ec9182c6237990e (diff) | |
download | vyos-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-x | functions/defaults.sh | 8 |
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 |