[44468] trunk/dports/x11/xinit/files/font_cache.sh

jeremyhu at macports.org jeremyhu at macports.org
Sun Dec 28 20:24:01 PST 2008


Revision: 44468
          http://trac.macports.org/changeset/44468
Author:   jeremyhu at macports.org
Date:     2008-12-28 20:24:01 -0800 (Sun, 28 Dec 2008)
Log Message:
-----------
xinit: Call fc-cache with -s rather than manipulating HOME... this has no practical effect beyond being better style, so not revbumping

Modified Paths:
--------------
    trunk/dports/x11/xinit/files/font_cache.sh

Modified: trunk/dports/x11/xinit/files/font_cache.sh
===================================================================
--- trunk/dports/x11/xinit/files/font_cache.sh	2008-12-29 04:22:25 UTC (rev 44467)
+++ trunk/dports/x11/xinit/files/font_cache.sh	2008-12-29 04:24:01 UTC (rev 44468)
@@ -189,7 +189,7 @@
     # Finally, update fontconfig's cache
     echo "font_cache: Updating FC cache"
     if [[ $system == 1 ]] ; then
-        HOME="$(echo ~root)" ${X11DIR}/bin/fc-cache \
+        ${X11DIR}/bin/fc-cache -s \
             $([[ $force == 1 ]] && echo "-f -r") \
             $([[ $verbose == 1 ]] && echo "-v")
     else
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081228/8f848fed/attachment.html>


More information about the macports-changes mailing list