From 73cef71b8dd3319b81435721e28a3bb3549b8e75 Mon Sep 17 00:00:00 2001 From: Tony Lambregts Date: Sun, 21 Apr 2002 22:06:36 +0000 Subject: [PATCH] Correctly detect the presence of a wine binary. --- tools/wineinstall | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/wineinstall b/tools/wineinstall index 3aed43b02cd..5de5e93b029 100755 --- a/tools/wineinstall +++ b/tools/wineinstall @@ -224,7 +224,7 @@ if [ $RET -eq 0 ]; then 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."