aboutsummaryrefslogtreecommitdiff
path: root/academic/celestia/doinst.sh
diff options
context:
space:
mode:
authorHeinz Wiesinger <HMWiesinger@gmx.at>2010-05-11 20:00:01 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-11 20:00:01 +0200
commit3cacc67aaaae2fca0ee117ea07b3d6321c6f86cc (patch)
tree16c19ad3924d1e4876b931b738403b48cb14fdf7 /academic/celestia/doinst.sh
parent3f5f8ce0517952609cc134e6ab4ce5be055b3c7d (diff)
academic/celestia: Added to 12.0 repository
Diffstat (limited to 'academic/celestia/doinst.sh')
-rw-r--r--academic/celestia/doinst.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/academic/celestia/doinst.sh b/academic/celestia/doinst.sh
new file mode 100644
index 000000000000..e651b937108a
--- /dev/null
+++ b/academic/celestia/doinst.sh
@@ -0,0 +1,7 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database 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