[arch-commits] Commit in lib32-fontconfig/trunk (lib32-fontconfig.install)

Jan Steffens heftig at archlinux.org
Thu Jan 12 20:53:47 UTC 2017


    Date: Thursday, January 12, 2017 @ 20:53:46
  Author: heftig
Revision: 207092

Sync with extra

Modified:
  lib32-fontconfig/trunk/lib32-fontconfig.install

--------------------------+
 lib32-fontconfig.install |   12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

Modified: lib32-fontconfig.install
===================================================================
--- lib32-fontconfig.install	2017-01-12 20:51:11 UTC (rev 207091)
+++ lib32-fontconfig.install	2017-01-12 20:53:46 UTC (rev 207092)
@@ -1,12 +1,10 @@
 post_install() {
-  echo -n "updating font cache... "
-  # a full forced directory scan is required here
-  /usr/bin/fc-cache-32 -f
-  echo "done."
+  post_upgrade $1
 }
 
 post_upgrade() {
-  echo -n "updating font cache... "
-  /usr/bin/fc-cache-32 -f
-  echo "done."
+  echo -n "Updating font cache..."
+  # a full forced directory scan is required here
+  /usr/bin/fc-cache-32 -rs
+  echo " done."
 }



More information about the arch-commits mailing list