summaryrefslogtreecommitdiff
path: root/mac/installscripts/postflight
diff options
context:
space:
mode:
Diffstat (limited to 'mac/installscripts/postflight')
-rw-r--r--mac/installscripts/postflight17
1 files changed, 17 insertions, 0 deletions
diff --git a/mac/installscripts/postflight b/mac/installscripts/postflight
new file mode 100644
index 0000000..bb19ffe
--- /dev/null
+++ b/mac/installscripts/postflight
@@ -0,0 +1,17 @@
+#!/usr/bin/env python2.7
+
+import sys
+#sys.stdout = open("/Users/uzadow/Desktop/postflight.log", "w")
+print "Starting postinstall..."
+from libavg import avg
+
+print "Building font cache. This can take a while."
+Player=avg.Player.get()
+Player.loadString("""
+ <avg width="160" height="120">
+ <words x="1" y="1" fontsize="12" font="Bitstream Vera Sans"
+ text="Bitstream Vera Sans" variant="roman"/>
+ </avg>
+""")
+print "Done."
+sys.exit(0)