diff options
-rwxr-xr-x | config/chroot_local-hooks/01-remove-gnome-icon-cache.chroot | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/config/chroot_local-hooks/01-remove-gnome-icon-cache.chroot b/config/chroot_local-hooks/01-remove-gnome-icon-cache.chroot index 1de9a67..0c229d2 100755 --- a/config/chroot_local-hooks/01-remove-gnome-icon-cache.chroot +++ b/config/chroot_local-hooks/01-remove-gnome-icon-cache.chroot @@ -1,13 +1,18 @@ #!/bin/sh +set -e + +# wheezy live-build deletes this by default on all platforms +# the hook is removed in upcoming lb-versions +# so i keep it here + if [ -x /usr/sbin/lightdm ]; then # only on i386 if ! [ -d /lib/x86_64-linux-gnu ]; then - set -e - # Remove GNOME icon cache. + # Remove icon caches # has to be generated later - # This saves space some space (11MB on K-LXDE) + # This saves some space (11MB on Kanotix-LXDE) rm -f /usr/share/icons/*/icon-theme.cache fi |