Correctly detect the presence of a wine binary.

This commit is contained in:
Tony Lambregts 2002-04-21 22:06:36 +00:00 committed by Alexandre Julliard
parent 77c2bbcb0b
commit 73cef71b8d
1 changed files with 1 additions and 1 deletions

View File

@ -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."