summaryrefslogtreecommitdiff
path: root/autoscripts/postinst-icons
diff options
context:
space:
mode:
Diffstat (limited to 'autoscripts/postinst-icons')
-rw-r--r--autoscripts/postinst-icons7
1 files changed, 7 insertions, 0 deletions
diff --git a/autoscripts/postinst-icons b/autoscripts/postinst-icons
new file mode 100644
index 0000000..3c018b3
--- /dev/null
+++ b/autoscripts/postinst-icons
@@ -0,0 +1,7 @@
+if which gtk-update-icon-cache >/dev/null 2>&1; then
+ for dir in #DIRLIST#; do
+ if [ -f "$dir"/icon-theme.cache ]; then
+ gtk-update-icon-cache --force --quiet "$dir"
+ fi
+ done
+fi