summaryrefslogtreecommitdiff
path: root/desktop/maitreya/doinst.sh
diff options
context:
space:
mode:
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
+