Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

stix-font install

By: a guest on Nov 30th, 2010  |  syntax: Bash  |  size: 0.24 KB  |  views: 76  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. post_install() {
  2.   echo -n "Updating font cache... "
  3.   fc-cache -s >/dev/null
  4.   mkfontdir /usr/share/fonts/OTF
  5.   mkfontscale /usr/share/fonts/OTF
  6.   echo "done."
  7. }
  8.  
  9. post_upgrade() {
  10.  post_install $1
  11. }
  12.  
  13. post_remove() {
  14.  post_install $1
  15. }