summaryrefslogtreecommitdiff
path: root/kanotix-lxde-extra/kanotix-icon-cache
diff options
context:
space:
mode:
Diffstat (limited to 'kanotix-lxde-extra/kanotix-icon-cache')
-rwxr-xr-xkanotix-lxde-extra/kanotix-icon-cache6
1 files changed, 6 insertions, 0 deletions
diff --git a/kanotix-lxde-extra/kanotix-icon-cache b/kanotix-lxde-extra/kanotix-icon-cache
new file mode 100755
index 0000000..68b768e
--- /dev/null
+++ b/kanotix-lxde-extra/kanotix-icon-cache
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+# generate icon-cache deleted in live-build
+if [ -x /usr/sbin/lightdm ]; then
+ find /usr/share/icons -mindepth 2 -maxdepth 2 -name index.theme -execdir gtk-update-icon-cache-3.0 -f -q . \;
+fi