Another tiny patch to ./tools/wineinstall

Tony Lambregts tony_lambregts at telusplanet.net
Sat Apr 20 16:00:14 CDT 2002


The purpose of this patch is to correctly detect the presense of a wine 
binary.  In the current CVS wineinstall will detect the presence of a 
wine binary even if wine has never been installed.

Tony Lambregts tony_lambregts at telusplanet.net

Index: wineinstall
===================================================================
RCS file: /home/wine/wine/tools/wineinstall,v
retrieving revision 1.26
diff -u -r1.26 wineinstall
--- wineinstall    1 Apr 2002 20:56:51 -0000    1.26
+++ wineinstall    20 Apr 2002 17:03:23 -0000
@@ -224,7 +224,7 @@
 fi
 
 # check whether wine binary still available
-if [ -n "`which wine`" ]; then
+if [ -n "`which wine 2>/dev/null|grep '/wine'`" ]; then
   echo "Warning !! wine binary (still) found, which may indicate"
   echo "a (conflicting) previous installation."
   echo "You might want to abort and uninstall Wine first."





More information about the wine-patches mailing list