post_install() {
	fc-cache -s
	find /usr/share/fonts/mathjax -type d -name 'woff' -exec mkfontscale -- {} +
	find /usr/share/fonts/mathjax -type d -name 'woff' -exec mkfontdir -- {} +
}

post_remove() {
	post_install "$@"
}

post_upgrade() {
	post_install "$@"
}
