updated on Mon Jan 16 00:01:41 UTC 2012
[aur-mirror.git] / u2ps / u2ps.install
blob33aeeeda4ebbc56dd447fc63e3c8c0e1f8472e75
1 _update_font_maps() {
2         cat /usr/share/u2ps/ps/Fontmap.* > /usr/share/u2ps/ps/Fontmap
3         cat /usr/share/u2ps/ps/resmap.* > /usr/share/u2ps/ps/resmap
6 post_install() {
7         _update_font_maps
9         if [ ! -f /usr/share/u2ps/ps/Fontmap.freemono ]; then
10                 echo
11                 echo "FreeMono fset not found"
12                 echo "Consider installing u2ps-freemono or u2ps-freemono-kochi"
13                 echo
14         fi
17 post_remove() {
18         _update_font_maps
21 post_upgrade() {
22         _update_font_maps