summaryrefslogtreecommitdiff
path: root/development/ipython-mathjax/doinst.sh
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <slackbuilds@jaxartes.net>2014-03-04 17:48:26 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-03-04 22:43:47 +0700
commit4f929d2340011caab57a78fc0c451df877cc36ba (patch)
tree7977abdc43befd0ddb872a381b6d12abe0b5edba /development/ipython-mathjax/doinst.sh
parent0d6aeb29cf15a0151e6757e5a41ff2b39fc531bd (diff)
downloadslackbuilds-4f929d2340011caab57a78fc0c451df877cc36ba.tar.gz
development/ipython-mathjax: Added (Mathematics Engine).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/ipython-mathjax/doinst.sh')
-rw-r--r--development/ipython-mathjax/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/development/ipython-mathjax/doinst.sh b/development/ipython-mathjax/doinst.sh
new file mode 100644
index 0000000000..fe6f6cfc46
--- /dev/null
+++ b/development/ipython-mathjax/doinst.sh
@@ -0,0 +1,10 @@
+# Update the X font indexes:
+if [ -x /usr/bin/mkfontdir -o -x /usr/X11R6/bin/mkfontdir ]; then
+ ( cd /usr/share/fonts/OTF
+ mkfontscale .
+ mkfontdir .
+ )
+fi
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi