summarylogtreecommitdiffstats
path: root/mplus-font.install
diff options
context:
space:
mode:
authoranergy2015-09-02 08:29:46 +0900
committeranergy2015-09-03 15:01:12 +0900
commitb4458f9ea3f219ce32bdcc062b305c1af2aceb5d (patch)
tree6c84ac4cd24df63340d282e227edb93399b62f94 /mplus-font.install
parent9c2cb6a7882d58813b718cec8e84cf8bbf2afdf5 (diff)
downloadaur-b4458f9ea3f219ce32bdcc062b305c1af2aceb5d.tar.gz
Added /etc/X11/xorg.conf.d/10-mplus-font.conf
which makes the fontpath "/usr/share/fonts/mplus" persistent.
Diffstat (limited to 'mplus-font.install')
-rw-r--r--mplus-font.install2
1 files changed, 2 insertions, 0 deletions
diff --git a/mplus-font.install b/mplus-font.install
index b48997e06a5d..1347bf314c2e 100644
--- a/mplus-font.install
+++ b/mplus-font.install
@@ -1,5 +1,6 @@
post_install() {
echo -n "Updating font cache... "
+ fc-cache -s
xset fp+ /usr/share/fonts/mplus
xset fp rehash
echo "done."
@@ -10,6 +11,7 @@ post_upgrade() {
}
post_remove() {
+ fc-cache -s
xset fp- /usr/share/fonts/mplus
xset fp rehash
}