This patch make the configure script erase the files in
~/.lyx/xfonts, if ~/.lyx/xfonts/fonts.dir is equal to LYXLIB/xfonts/fonts.dir

PS: Should I also remove the directory ~/.lyx/xfonts ?
Index: configure.m4
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/configure.m4,v
retrieving revision 1.54
diff -u -p -r1.54 configure.m4
--- configure.m4        16 Oct 2002 16:07:13 -0000      1.54
+++ configure.m4        25 Oct 2002 20:55:05 -0000
@@ -595,7 +595,10 @@ for file in $outfile textclass.lst packa
     mv $file.new $file
   fi
 done
-
+if test ! -r xfonts/fonts.dir ; then
+    echo "removing font links"
+    rm -r xfonts/*.pfb xfonts/fonts.scale
+fi
 
 # Final clean-up
 if test $lyx_keep_temps = no ; then

Reply via email to