summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHolger Paradies <retabell@gmx.de>2013-06-21 19:50:48 +0200
committerAndreas Loibl <andreas@andreas-loibl.de>2013-09-03 20:02:33 +0200
commit5a68ebc55ee9ae59165c9c94125d6cc8f2287e3f (patch)
tree48d35ea1b55ed6cb7f82905938711ebbe34bab1d
parent54c9351f0fea06bb901052adb973f814ff72e1b2 (diff)
downloadkanotix-5a68ebc55ee9ae59165c9c94125d6cc8f2287e3f.zip
kanotix-5a68ebc55ee9ae59165c9c94125d6cc8f2287e3f.tar.gz
icon cache
-rwxr-xr-xconfig/chroot_local-hooks/01-remove-gnome-icon-cache.chroot11
1 files changed, 11 insertions, 0 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
new file mode 100755
index 0000000..6aae943
--- /dev/null
+++ b/config/chroot_local-hooks/01-remove-gnome-icon-cache.chroot
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+if [ -x /usr/sbin/lightdm ]; then
+set -e
+
+# Remove GNOME icon cache.
+# has to be generated later
+# This saves space some space (11MB on K-LXDE)
+
+rm -f /usr/share/icons/*/icon-theme.cache
+fi