Commit 73cef71b authored by Tony Lambregts's avatar Tony Lambregts Committed by Alexandre Julliard

Correctly detect the presence of a wine binary.

parent 77c2bbcb
......@@ -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."
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment