PKGBUILDs/extra/ttf-arphic-ukai/ttf.install

21 lines
260 B
Text
Raw Normal View History

2009-10-10 02:23:22 +00:00
post_install() {
echo -n "Updating font cache... "
fc-cache -f > /dev/null
mkfontscale /usr/share/fonts/TTF
mkfontdir /usr/share/fonts/TTF
echo "done."
}
post_upgrade() {
post_install $1
}
post_remove() {
post_install $1
}
op=$1
shift
$op $*