summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiehong Ma2016-08-19 21:57:58 +0200
committerJiehong Ma2016-08-19 21:57:58 +0200
commitc0fa931fc2753faaa0f3cad15c01459bc926398d (patch)
tree9290691cd6fac131b5073e2f3d40f7b70d717ed7
parent71de74a9443c1373fb38138b3e7980b47b699b08 (diff)
downloadaur-c0fa931fc2753faaa0f3cad15c01459bc926398d.tar.gz
bugfix: Thanks @Benshi for pointing out the caches were wrongly updated
-rw-r--r--PKGBUILD4
-rw-r--r--ttf.install6
2 files changed, 5 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 4dae130d32ce..fbf7e54bc858 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
-# Maintainer: Ma Jiehong <majiehong.com/pages/contact.html>
+# Maintainer: Ma Jiehong <email@majiehong.com>
pkgname=ttf-cwtex-q-fonts
pkgver=0.4
-pkgrel=2
+pkgrel=3
pkgdesc="Set of five Chinese truetype fonts derived from cwTeX"
arch=('i686' 'x86_64')
url="https://github.com/l10n-tw/cwtex-q-fonts"
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"
}