summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-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