[arch-commits] Commit in ttf-khmer/trunk (PKGBUILD install)
Gaetan Bisson
bisson at archlinux.org
Mon Jan 5 05:05:04 UTC 2015
Date: Monday, January 5, 2015 @ 06:05:03
Author: bisson
Revision: 228448
install file update for fc-cache
Modified:
ttf-khmer/trunk/PKGBUILD
ttf-khmer/trunk/install
----------+
PKGBUILD | 2 +-
install | 12 +++++-------
2 files changed, 6 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-01-05 05:04:52 UTC (rev 228447)
+++ PKGBUILD 2015-01-05 05:05:03 UTC (rev 228448)
@@ -6,7 +6,7 @@
pkgname=ttf-khmer
_pkgname=All_KhmerOS
pkgver=5.0
-pkgrel=4
+pkgrel=5
pkgdesc='Fonts for Khmer and Latin alphabets'
# url='http://www.khmeros.info/en/fonts' # dead
url='http://sourceforge.net/projects/khmer/'
Modified: install
===================================================================
--- install 2015-01-05 05:04:52 UTC (rev 228447)
+++ install 2015-01-05 05:05:03 UTC (rev 228448)
@@ -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