Date: Monday, January 5, 2015 @ 06:04:31
  Author: bisson
Revision: 228445

install file update for fc-cache

Modified:
  ttf-hannom/trunk/PKGBUILD
  ttf-hannom/trunk/install

----------+
 PKGBUILD |    2 +-
 install  |   10 +++++-----
 2 files changed, 6 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2015-01-05 05:04:21 UTC (rev 228444)
+++ PKGBUILD    2015-01-05 05:04:31 UTC (rev 228445)
@@ -4,7 +4,7 @@
 
 pkgname=ttf-hannom
 pkgver=2005
-pkgrel=3
+pkgrel=4
 pkgdesc='Chinese and Vietnamese TrueType fonts'
 url='http://vietunicode.sourceforge.net/fonts/fonts_hannom.html'
 license=('custom:non-profit')

Modified: install
===================================================================
--- install     2015-01-05 05:04:21 UTC (rev 228444)
+++ install     2015-01-05 05:04:31 UTC (rev 228445)
@@ -1,13 +1,13 @@
 post_install() {
-       post_upgrade
+       fc-cache -s > /dev/null
+       mkfontscale usr/share/fonts/TTF
+       mkfontdir usr/share/fonts/TTF
 }
 
 post_upgrade() {
-       fc-cache -fs
-       mkfontscale usr/share/fonts/TTF
-       mkfontdir usr/share/fonts/TTF
+       post_install
 }
 
 post_remove() {
-       post_upgrade
+       post_install
 }

Reply via email to