diff options
Diffstat (limited to 'ttf.install')
-rw-r--r-- | ttf.install | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ttf.install b/ttf.install new file mode 100644 index 000000000000..61210947bba1 --- /dev/null +++ b/ttf.install @@ -0,0 +1,12 @@ +post_install() { + echo -n "Updating font cache... " + fc-cache -fs >/dev/null + mkfontscale /usr/share/fonts/TTF /usr/share/fonts/Type1 + mkfontdir /usr/share/fonts/TTF /usr/share/fonts/Type1 + echo "done" +} + +post_upgrade() { + post_install +} + |