SHARE
TWEET

stix-font install

a guest Nov 30th, 2010 79 Never
  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. }
RAW Paste Data
Top