summaryrefslogtreecommitdiff
path: root/academic/Mnemosyne/doinst.sh
diff options
context:
space:
mode:
authorR. S. Ananda Murthy <rsamurti@gmail.com>2014-06-14 07:54:15 +0700
committerErik Hanson <erik@slackbuilds.org>2014-06-18 16:18:59 -0500
commit9c0b0a30153d83b0175fd50c117cea30c6ec3e7a (patch)
tree3cc521cb4788bd9a1c42956ab27570abef5338d1 /academic/Mnemosyne/doinst.sh
parent4f5dee94636ab7d9ffb5086d817b17a4e7b5e67b (diff)
downloadslackbuilds-9c0b0a30153d83b0175fd50c117cea30c6ec3e7a.tar.gz
academic/Mnemosyne: Added (A free flash-card tool).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/Mnemosyne/doinst.sh')
-rw-r--r--academic/Mnemosyne/doinst.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/academic/Mnemosyne/doinst.sh b/academic/Mnemosyne/doinst.sh
new file mode 100644
index 0000000000..9a8ded3c60
--- /dev/null
+++ b/academic/Mnemosyne/doinst.sh
@@ -0,0 +1,7 @@
+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