aboutsummaryrefslogtreecommitdiff
path: root/desktop/papirus-icon-theme/doinst.sh
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2020-01-04 13:27:36 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-01-12 08:47:45 +0700
commit0675b31b501c36db279fd19ee1960123293f528c (patch)
tree3d051daf319c64a90875f31e2e9d828bbbf7bd4b /desktop/papirus-icon-theme/doinst.sh
parentecb84c7eb819037c7fdb1084fb35157b91746b9e (diff)
desktop/papirus-icon-theme: Rename doinst.sh.in => doinst.sh.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'desktop/papirus-icon-theme/doinst.sh')
-rw-r--r--desktop/papirus-icon-theme/doinst.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/desktop/papirus-icon-theme/doinst.sh b/desktop/papirus-icon-theme/doinst.sh
new file mode 100644
index 0000000000000..fe41c427bf2cf
--- /dev/null
+++ b/desktop/papirus-icon-theme/doinst.sh
@@ -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
+