diff options
Diffstat (limited to 'libre/xorg-fonts-100dpi/xfonts.install')
-rw-r--r-- | libre/xorg-fonts-100dpi/xfonts.install | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libre/xorg-fonts-100dpi/xfonts.install b/libre/xorg-fonts-100dpi/xfonts.install new file mode 100644 index 000000000..5c5e8a2b4 --- /dev/null +++ b/libre/xorg-fonts-100dpi/xfonts.install @@ -0,0 +1,15 @@ +post_install() { + echo -n "Updating font cache... " + fc-cache -f > /dev/null + mkfontscale /usr/share/fonts/100dpi + mkfontdir /usr/share/fonts/100dpi + echo "done." +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} |