summaryrefslogtreecommitdiffstats
path: root/graphics/PureRef/doinst.sh
diff options
context:
space:
mode:
author Willy Sudiarto Raharjo <willysr@slackbuilds.org>2018-01-23 06:05:35 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2018-01-27 07:43:48 +0700
commit2283ec260d3c2cf0ec923124ee96f9e5a2c2c67d (patch)
tree318963fd54fb02bf00276e783cb92ef1ab77b267 /graphics/PureRef/doinst.sh
parentb69403dccc665c105dad51152fc39a9461187b5d (diff)
downloadslackbuilds-2283ec260d3c2cf0ec923124ee96f9e5a2c2c67d.tar.gz
slackbuilds-2283ec260d3c2cf0ec923124ee96f9e5a2c2c67d.tar.xz
graphics/PureRef: Added (Organize Image).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/PureRef/doinst.sh')
-rw-r--r--graphics/PureRef/doinst.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/graphics/PureRef/doinst.sh b/graphics/PureRef/doinst.sh
new file mode 100644
index 0000000000..9b51b160f6
--- /dev/null
+++ b/graphics/PureRef/doinst.sh
@@ -0,0 +1,13 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/gnome/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/gnome >/dev/null 2>&1
+ fi
+fi