aboutsummaryrefslogtreecommitdiff
path: root/desktop/papirus-icon-theme/doinst.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/papirus-icon-theme/doinst.sh.in')
-rw-r--r--desktop/papirus-icon-theme/doinst.sh.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/desktop/papirus-icon-theme/doinst.sh.in b/desktop/papirus-icon-theme/doinst.sh.in
new file mode 100644
index 0000000000000..fe41c427bf2cf
--- /dev/null
+++ b/desktop/papirus-icon-theme/doinst.sh.in
@@ -0,0 +1,8 @@
+for theme in @THEMES@; do
+ if [ -e usr/share/icons/$theme/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/$theme >/dev/null 2>&1
+ fi
+ fi
+done
+