diff options
Diffstat (limited to 'xolonium-fonts.install')
-rw-r--r-- | xolonium-fonts.install | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/xolonium-fonts.install b/xolonium-fonts.install new file mode 100644 index 000000000000..680f60e53933 --- /dev/null +++ b/xolonium-fonts.install @@ -0,0 +1,15 @@ +post_install() { + echo -n "Updating font cache... " + mkfontscale /usr/share/fonts/TTF /usr/share/fonts/OTF > /dev/null 2>&1 + mkfontdir /usr/share/fonts/TTF /usr/share/fonts/OTF > /dev/null 2>&1 + fc-cache -s >/dev/null + echo done +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |