summarylogtreecommitdiffstats
path: root/cherry-font-git.install
blob: 7308d9ac417d48f52f690eba01729790b8c477c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
update_font_cache ()
{
    echo 'updating font cache...'
    fc-cache -f
    mkfontscale /usr/share/fonts/misc
    mkfontdir /usr/share/fonts/misc
    echo 'done.'
}

post_install () { update_font_cache; }
post_upgrade () { update_font_cache; }
post_remove  () { update_font_cache; }