[arch-commits] Commit in ttf-indic-otf/trunk (PKGBUILD install)
Gaetan Bisson
bisson at archlinux.org
Mon Jan 5 05:04:42 UTC 2015
Date: Monday, January 5, 2015 @ 06:04:42
Author: bisson
Revision: 228446
install file update for fc-cache
Modified:
ttf-indic-otf/trunk/PKGBUILD
ttf-indic-otf/trunk/install
----------+
PKGBUILD | 2 +-
install | 8 +++-----
2 files changed, 4 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-01-05 05:04:31 UTC (rev 228445)
+++ PKGBUILD 2015-01-05 05:04:42 UTC (rev 228446)
@@ -5,7 +5,7 @@
pkgname=ttf-indic-otf
pkgver=0.2
-pkgrel=7
+pkgrel=8
pkgdesc='Indic Opentype Fonts collection'
url='http://www.indlinux.org/wiki/index.php/Downloads'
license=('GPL')
Modified: install
===================================================================
--- install 2015-01-05 05:04:31 UTC (rev 228445)
+++ install 2015-01-05 05:04:42 UTC (rev 228446)
@@ -1,15 +1,13 @@
post_install() {
- echo -n "Updating font cache... "
- fc-cache -f > /dev/null
+ fc-cache -s > /dev/null
mkfontscale usr/share/fonts/TTF
mkfontdir usr/share/fonts/TTF
- echo "done."
}
post_upgrade() {
- post_install $1
+ post_install
}
post_remove() {
- post_install $1
+ post_install
}
More information about the arch-commits
mailing list