summarylogtreecommitdiffstats
path: root/ttf.install
diff options
context:
space:
mode:
authorJiehong Ma2016-08-19 21:57:58 +0200
committerJiehong Ma2016-08-19 21:57:58 +0200
commitc0fa931fc2753faaa0f3cad15c01459bc926398d (patch)
tree9290691cd6fac131b5073e2f3d40f7b70d717ed7 /ttf.install
parent71de74a9443c1373fb38138b3e7980b47b699b08 (diff)
downloadaur-c0fa931fc2753faaa0f3cad15c01459bc926398d.tar.gz
bugfix: Thanks @Benshi for pointing out the caches were wrongly updated
Diffstat (limited to 'ttf.install')
-rw-r--r--ttf.install6
1 files changed, 3 insertions, 3 deletions
diff --git a/ttf.install b/ttf.install
index 33b7d65490db..ad2e563fa376 100644
--- a/ttf.install
+++ b/ttf.install
@@ -1,8 +1,8 @@
post_install() {
echo -n "==> Rebuilding font cache... "
- fc-cache -f &> /dev/null
- mkfontscale /usr/share/fonts/TTF
- mkfontdir /usr/share/fonts/TTF
+ fc-cache -f /usr/share/fonts/cwttf &> /dev/null
+ mkfontscale /usr/share/fonts/cwttf
+ mkfontdir /usr/share/fonts/cwttf
echo "done"
}