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

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


    Date: Monday, January 5, 2015 @ 06:05:46
  Author: bisson
Revision: 228450

install file update for fc-cache

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

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-01-05 05:05:33 UTC (rev 228449)
+++ PKGBUILD	2015-01-05 05:05:46 UTC (rev 228450)
@@ -4,7 +4,7 @@
 
 pkgname=ttf-sazanami
 pkgver=20040629
-pkgrel=8
+pkgrel=9
 pkgdesc='Japanese fonts'
 url='http://wiki.fdiary.net/font/?sazanami'
 license=('custom:BSD')

Modified: install
===================================================================
--- install	2015-01-05 05:05:33 UTC (rev 228449)
+++ install	2015-01-05 05:05:46 UTC (rev 228450)
@@ -1,14 +1,14 @@
 post_install() {
-	post_upgrade
-}
-
-post_upgrade() {
 	rm -f /etc/fonts/conf.d/65-sazanami.conf
-	fc-cache -fs
+	fc-cache -s > /dev/null
 	mkfontscale usr/share/fonts/TTF
 	mkfontdir usr/share/fonts/TTF
 }
 
+post_upgrade() {
+	post_install
+}
+
 post_remove() {
-	post_upgrade
+	post_install
 }



More information about the arch-commits mailing list