post_install() {
  echo -n "Updating font cache... "
  mkfontscale /usr/share/fonts/TTF /usr/share/fonts/OTF /usr/share/fonts/misc > /dev/null 2>&1
  mkfontdir /usr/share/fonts/TTF /usr/share/fonts/OTF /usr/share/fonts/misc > /dev/null 2>&1
  fc-cache -s >/dev/null
  echo "done"
}

post_upgrade() {
  post_install
}

post_remove() {
  post_install
}
