[arch-commits] Commit in ttf-arphic-ukai/trunk (PKGBUILD install)

Gaetan Bisson bisson at archlinux.org
Mon Jan 5 05:03:34 UTC 2015


    Date: Monday, January 5, 2015 @ 06:03:34
  Author: bisson
Revision: 228440

install file update for fc-cache

Modified:
  ttf-arphic-ukai/trunk/PKGBUILD
  ttf-arphic-ukai/trunk/install

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-01-05 05:03:25 UTC (rev 228439)
+++ PKGBUILD	2015-01-05 05:03:34 UTC (rev 228440)
@@ -5,7 +5,7 @@
 
 pkgname=ttf-arphic-ukai
 pkgver=0.2.20080216.1
-pkgrel=4
+pkgrel=5
 pkgdesc='CJK Unicode font Kaiti style'
 url='http://www.freedesktop.org/wiki/Software/CJKUnifonts'
 license=('custom:Arphic_Public_License')

Modified: install
===================================================================
--- install	2015-01-05 05:03:25 UTC (rev 228439)
+++ install	2015-01-05 05:03:34 UTC (rev 228440)
@@ -1,15 +1,13 @@
 post_install() {
-	echo -n "Updating font cache... "
-	fc-cache -f > /dev/null
-	mkfontscale /usr/share/fonts/TTF
-	mkfontdir /usr/share/fonts/TTF
-	echo "done."
+	fc-cache -s > /dev/null
+	mkfontscale usr/share/fonts/TTF
+	mkfontdir usr/share/fonts/TTF
 }
 
 post_upgrade() {
-	post_install $1
+	post_install
 }
 
 post_remove() {
-	post_install $1
+	post_install
 }



More information about the arch-commits mailing list