patch for the ldconfig fix in latest snapshot

Francois Gouget fgouget at free.fr
Sat May 11 22:30:56 CDT 2002


I would be more comfortable with the following (warning, direct edit of
the original patch):


--- tools/wineinstall	Sat May  4 13:31:24 2002
+++ tools/wineinstall.new	Sat May 11 01:19:04 2002
@@ -319,7 +319,8 @@
     # to our sucommand string
     if [ -f /etc/ld.so.conf ]
     then
-      if [ ! grep -qs "$libdir" /etc/ld.so.conf ]
+      grep -qs "$libdir" /etc/ld.so.conf 2>/dev/null
+      if [ $? -ne 0 ]
       then {
 	echo
 	echo "$libdir doesn't exist in your /etc/ld.so.conf, it will be added"


--
Francois Gouget         fgouget at free.fr        http://fgouget.free.fr/
                         Stolen from an Internet user:
              "f u cn rd ths, u cn gt a gd jb n cmptr prgrmmng !"




More information about the wine-devel mailing list