summaryrefslogtreecommitdiff
path: root/desktop/anki/doinst.sh
diff options
context:
space:
mode:
authorTimothy Pollard <sbo@timp.com.au>2014-03-17 16:01:02 +0700
committerErik Hanson <erik@slackbuilds.org>2014-03-21 13:01:18 -0500
commit9f2663fdb74d0bea4ae5cf063eac66fc7dd59940 (patch)
tree7eb51817f552afcde98f9ddd41d6abfe2066f94d /desktop/anki/doinst.sh
parent8b0802e9583dd59d91b529ba26350e19c79a356f (diff)
downloadslackbuilds-9f2663fdb74d0bea4ae5cf063eac66fc7dd59940.tar.gz
desktop/anki: Updated for version 2.0.22 + New Maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/anki/doinst.sh')
-rw-r--r--desktop/anki/doinst.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/desktop/anki/doinst.sh b/desktop/anki/doinst.sh
index 527d5759d4..331241a619 100644
--- a/desktop/anki/doinst.sh
+++ b/desktop/anki/doinst.sh
@@ -7,3 +7,7 @@ if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
/usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
fi
fi
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
+fi