From 9bd17af7978eb4c09fa3b6899bf3fba1fefe8d93 Mon Sep 17 00:00:00 2001
From: Holger Paradies <retabell@gmx.de>
Date: Sat, 7 Sep 2013 18:48:54 +0200
Subject: fix: icon-cache is deleted in wheezy lb as default

---
 config/chroot_local-hooks/01-remove-gnome-icon-cache.chroot | 11 ++++++++---
 1 file 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
-- 
cgit v1.0