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         [EMAIL PROTECTED]        http://fgouget.free.fr/
                         Stolen from an Internet user:
              "f u cn rd ths, u cn gt a gd jb n cmptr prgrmmng !"


Reply via email to