diff options
Diffstat (limited to 'functions/defaults.sh')
-rwxr-xr-x | functions/defaults.sh | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh index 77966369e..78c39e69f 100755 --- a/functions/defaults.sh +++ b/functions/defaults.sh @@ -574,7 +574,21 @@ Set_defaults () # Setting union filesystem LB_UNION_FILESYSTEM="${LB_UNION_FILESYSTEM:-aufs}" - # LB_HOOKS + # Setting distribution hooks + case "${LB_MODE}" in + *) + LB_CHROOT_HOOKS="update-apt-xapian-index \ + update-mlocate-database \ + remove-python-py" + ;; + + kubuntu) + LB_CHROOT_HOOKS="update-apt-xapian-index \ + update-mlocate-database \ + remove-gnome-icon-cache \ + remove-python-py" + ;; + esac # Setting interactive shell/X11/Xnest LB_INTERACTIVE="${LB_INTERACTIVE:-false}" |