-------------- Original message ---------------------- From: Alexandre Julliard julliard@winehq.org
Detlef Riekenberg wine.dev@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