summaryrefslogtreecommitdiff
path: root/config/chroot_local-hooks
diff options
context:
space:
mode:
authorHolger Paradies <retabell@gmx.de>2013-09-07 18:48:54 +0200
committerAndreas Loibl <andreas@andreas-loibl.de>2013-09-10 22:07:02 +0200
commit9bd17af7978eb4c09fa3b6899bf3fba1fefe8d93 (patch)
tree654a132a44a8d4e12c547465f512fbe71827866a /config/chroot_local-hooks
parent648ffc002c258e07b2720b8045ac6bb401d58470 (diff)
downloadkanotix-9bd17af7978eb4c09fa3b6899bf3fba1fefe8d93.zip
kanotix-9bd17af7978eb4c09fa3b6899bf3fba1fefe8d93.tar.gz
fix: icon-cache is deleted in wheezy lb as default
Diffstat (limited to 'config/chroot_local-hooks')
-rwxr-xr-xconfig/chroot_local-hooks/01-remove-gnome-icon-cache.chroot11
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