summaryrefslogtreecommitdiff
path: root/graphics/mcomix/doinst.sh
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2014-05-29 17:40:58 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-05-29 17:40:58 +0700
commit5666b92cddc0da1ba77972df8f7c0677d0170ae8 (patch)
treeef8fb091f3cd55c853058197b81ca18b885664ce /graphics/mcomix/doinst.sh
parent38b612f9ad183784fdec3bb834d5babfdbb9c263 (diff)
downloadslackbuilds-5666b92cddc0da1ba77972df8f7c0677d0170ae8.tar.gz
graphics/mcomix: Updated for version 1.00 + new maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/mcomix/doinst.sh')
-rw-r--r--graphics/mcomix/doinst.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/graphics/mcomix/doinst.sh b/graphics/mcomix/doinst.sh
new file mode 100644
index 0000000000..9424ce43ff
--- /dev/null
+++ b/graphics/mcomix/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/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi