summaryrefslogtreecommitdiff
path: root/desktop/maitreya/doinst.sh
diff options
context:
space:
mode:
authorDidier Charles <dcharles@alumni.concordia.ca>2010-07-11 01:45:41 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-07-11 01:45:41 -0500
commite1c999e1fc40e112d58f833c3f7fb0e8125a39e0 (patch)
treeccd41c755d623288e4cf0d701fbdb80a8f6896ae /desktop/maitreya/doinst.sh
parent06ee3481f8e4723e3efae5dff32dc7ae621f9f7e (diff)
downloadslackbuilds-e1c999e1fc40e112d58f833c3f7fb0e8125a39e0.tar.gz
desktop/maitreya: Added (software for Vedic and western astrology)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'desktop/maitreya/doinst.sh')
-rw-r--r--desktop/maitreya/doinst.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/desktop/maitreya/doinst.sh b/desktop/maitreya/doinst.sh
new file mode 100644
index 0000000000..ee4ac27988
--- /dev/null
+++ b/desktop/maitreya/doinst.sh
@@ -0,0 +1,15 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+# Update the X font indexes:
+if [ -x /usr/bin/mkfontdir ]; then
+ ( cd /usr/share/fonts/TTF
+ mkfontscale .
+ mkfontdir .
+ )
+fi
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi
+