post_install() {
  post_remove $1
}

post_upgrade() {
  post_install $1
}

post_remove() {
  echo -n "==> Rebuilding font cache... "
  fc-cache -s &> /dev/null
  mkfontscale /usr/share/fonts/OTF
  mkfontdir /usr/share/fonts/OTF
  echo "done"
}
