diff options
Diffstat (limited to 'yanc-font-git.install')
-rw-r--r-- | yanc-font-git.install | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/yanc-font-git.install b/yanc-font-git.install new file mode 100644 index 000000000000..633789db4998 --- /dev/null +++ b/yanc-font-git.install @@ -0,0 +1,16 @@ +post_install() { + echo -n "Updating font cache... " + fc-cache >/dev/null -f + mkfontscale /usr/share/fonts/misc + mkfontdir /usr/share/fonts/misc + xset fp rehash >/dev/null 2>&1 + echo done +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |