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

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


    Date: Monday, January 5, 2015 @ 06:03:56
  Author: bisson
Revision: 228442

install file update for fc-cache

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

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-01-05 05:03:44 UTC (rev 228441)
+++ PKGBUILD	2015-01-05 05:03:56 UTC (rev 228442)
@@ -4,7 +4,7 @@
 
 pkgname=ttf-baekmuk
 pkgver=2.2
-pkgrel=8
+pkgrel=9
 pkgdesc='Korean fonts'
 url='http://kldp.net/projects/baekmuk/'
 license=('custom:BSD')

Modified: install
===================================================================
--- install	2015-01-05 05:03:44 UTC (rev 228441)
+++ install	2015-01-05 05:03:56 UTC (rev 228442)
@@ -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
 }



More information about the arch-commits mailing list