summaryrefslogtreecommitdiff
path: root/desktop/papirus-icon-theme/doinst.sh.in
diff options
context:
space:
mode:
authorAzure Zanculmarktum <zanculmarktum@gmail.com>2018-03-19 21:22:40 +0000
committerDavid Spencer <idlemoor@slackbuilds.org>2018-03-19 21:22:40 +0000
commitab8f42dded11f4f5429bc40629acd0d267a7ea6b (patch)
treec93fc80d68e8c66d2f831c8f0cbe682e16d6a386 /desktop/papirus-icon-theme/doinst.sh.in
parentd5583c368f75763e868e857715a169d1eb6f7908 (diff)
downloadslackbuilds-ab8f42dded11f4f5429bc40629acd0d267a7ea6b.tar.gz
desktop/papirus-icon-theme: Added (icon theme).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
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 0000000000..fe41c427bf
--- /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
+