summaryrefslogtreecommitdiff
path: root/mac/installscripts/postflight
blob: bb19ffe9d9fc3aa89eee0ccbea4102f42323ead9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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)