1 2 3 4 5 6 7 8 9
post_install() { echo -n "updating font cache... " mkfontscale /usr/share/fonts/misc mkfontdir /usr/share/fonts/misc echo "done." } post_upgrade() { post_install; } post_remove() { post_install; echo "optional: remove aliases from /usr/share/fonts/misc/fonts.alias" }