summarylogtreecommitdiffstats
path: root/cherry-font-git.install
blob: 787042b9bd83904d4c875ae58956e6cd2bf17b63 (plain)
1
2
3
4
5
6
7
8
9
10
11
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; }