diff options
Diffstat (limited to 'cherry-font-git.install')
-rw-r--r-- | cherry-font-git.install | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/cherry-font-git.install b/cherry-font-git.install new file mode 100644 index 000000000000..7308d9ac417d --- /dev/null +++ b/cherry-font-git.install @@ -0,0 +1,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; } |