[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/xorg-x11/devel xfs.init,1.6,1.7



Update of /cvs/dist/rpms/xorg-x11/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv3293

Modified Files:
	xfs.init 
Log Message:
Fix xfs initscript invocation of chkfontpath output filtering to get proper list of FPEs to pass through


Index: xfs.init
===================================================================
RCS file: /cvs/dist/rpms/xorg-x11/devel/xfs.init,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- xfs.init	4 Apr 2005 19:32:36 -0000	1.6
+++ xfs.init	4 Apr 2005 19:47:02 -0000	1.7
@@ -25,7 +25,7 @@
 
 buildfontlist() {
    pushd . &> /dev/null
-   for d in $(/usr/sbin/chkfontpath --list | cut -f 2 -d ':' | sort | uniq) ;do
+   for d in $(/usr/sbin/chkfontpath --list | sed -e '/^Current/d;s#.*: ##g;s#^/.*:[a-z]*$##g;/^[[:space:]]*$/d' | sort | uniq) ;do
       if [ -d "$d" ]; then
          cd "$d"
          # Check if we need to rerun mkfontdir


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]