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

Jan Steffens heftig at archlinux.org
Thu Jan 12 20:52:33 UTC 2017


    Date: Thursday, January 12, 2017 @ 20:52:32
  Author: heftig
Revision: 286175

Use -rs when rescanning to delete caches from old versions

Modified:
  fontconfig/trunk/fontconfig.install

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

Modified: fontconfig.install
===================================================================
--- fontconfig.install	2017-01-12 20:50:42 UTC (rev 286174)
+++ fontconfig.install	2017-01-12 20:52:32 UTC (rev 286175)
@@ -18,16 +18,13 @@
 
 _EOF
 
-  echo -n "Updating font cache..."
-  # a full forced directory scan is required here
-  /usr/bin/fc-cache -f
-  echo " done."
+  post_upgrade $1
 }
 
 post_upgrade() {
   echo -n "Updating font cache..."
   # a full forced directory scan is required here
-  /usr/bin/fc-cache -f
+  /usr/bin/fc-cache -rs
   echo " done."
 }
 



More information about the arch-commits mailing list