patch for the ldconfig fix in latest snapshot

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

 



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
--- 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"

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux