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. }