shell failure on tools/wineinstall

Ben Taylor sol11x86 at comcast.net
Thu Apr 26 15:46:02 CDT 2007


 -------------- Original message ----------------------
From: Alexandre Julliard <julliard at winehq.org>
> Detlef Riekenberg <wine.dev at web.de> writes:
> 
> > On Do, 2007-04-26 at 13:42 +0000, Ben Taylor wrote:
> >
> >
> >>       if [ ! `which wine` ]
> >> 
> >
> > data=`which wine`
> > if [ -n "$data" -a -x "$data" ] 
> > then
> >   # found wine
> >   WINEINSTALLED=yes
> > else
> >   echo "Could not find wine on your system.  Run wineinstall as root to
> > install wine"
> >   echo "before re-running wineinstall as a user."
> >   echo
> >   echo "Exiting wineinstall"
> >   exit 1;
> > fi
> 
> Trying to run 'wine --version' would probably be a better installation
> check.

I found two places where "which wine" was used in wineinstall and replaced
them using a construct using "wine --verstion"

Please review and  see if the patch makes sense.

It's defintely working better now.

Ben
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/octet-stream
Size: 1208 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20070426/6080df38/attachment.obj


More information about the wine-devel mailing list