patch for the ldconfig fix in latest snapshot

Dustin Navea speeddymon at yahoo.com
Sat May 11 16:29:24 CDT 2002


the evaluation of ld.so.conf for $libdir in the latest
snapshot is incorrect.  there shouldn't be brackets
around it, this fixes it...

the way i found this was because bash gave an error
message when going to run $sucommand, it _now_
_correctly_ detects the presence of $libdir in
/etc/ld.so.conf...

-Dustin




__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com
-------------- next part --------------
--- tools/wineinstall	Sat May  4 13:31:24 2002
+++ tools/wineinstall.new	Sat May 11 01:19:04 2002
@@ -319,7 +319,9 @@
     # to our sucommand string
     if [ -f /etc/ld.so.conf ]
     then
-      if [ ! grep -qs "$libdir" /etc/ld.so.conf ]
+      # why were there brackets around this?  it wasn't evaluating 
+      # correctly because of them! -Dustin Navea
+      if ! grep -qs "$libdir" /etc/ld.so.conf
       then {
 	echo
 	echo "$libdir doesn't exist in your /etc/ld.so.conf, it will be added"


More information about the wine-patches mailing list