post_install() {
  echo -n "Updating font cache... "
  fc-cache >/dev/null -f
  mkfontscale /usr/share/fonts/wps-fonts
  mkfontdir   /usr/share/fonts/wps-fonts
  echo done
}

post_upgrade() {
  post_install
}

post_remove() {
  post_install
}
