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