Date: Monday, January 5, 2015 @ 06:05:33
  Author: bisson
Revision: 228449

install file update for fc-cache

Modified:
  ttf-mph-2b-damase/trunk/PKGBUILD
  ttf-mph-2b-damase/trunk/install

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2015-01-05 05:05:03 UTC (rev 228448)
+++ PKGBUILD    2015-01-05 05:05:33 UTC (rev 228449)
@@ -5,7 +5,7 @@
 pkgname=ttf-mph-2b-damase
 pkgver=001.000.4.dfsg.2
 _pkgver=001.000.dfsg.2+ds1
-pkgrel=5
+pkgrel=6
 pkgdesc='Unicode font covering full plane 1, and numerous scripts'
 url="http://packages.debian.org/unstable/x11/ttf-mph-2b-damase"; 
 license=('custom:Public_Domain')

Modified: install
===================================================================
--- install     2015-01-05 05:05:03 UTC (rev 228448)
+++ install     2015-01-05 05:05:33 UTC (rev 228449)
@@ -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
 }

Reply via email to