Commit 4aaaf410 authored by Jeremy White's avatar Jeremy White Committed by Alexandre Julliard

Make winelauncher test for xmessage and warn the user if they don't

have it.
parent ee21c443
......@@ -45,7 +45,27 @@ COLOR=' -xrm *.Command.background:darkgrey
-xrm *.background:black'
XMESSAGE="xmessage $COLOR"
#------------------------------------------------------------------------------
# Locate either xmessage or gmessage, if we can.
#------------------------------------------------------------------------------
type xmessage >/dev/null 2>/dev/null
if [ $? -ne 0 ] ; then
echo "
Warning:
The CodeWeavers Wine launcher is unable to find xmessage.
This launcher script relies heavily on finding this tool,
and without it, it will behave poorly.
Most Linux distributions have one or the other of these
tools.
We strongly recommend that you use your distributions
software methods to locate xmessage."
else
XMESSAGE="xmessage $COLOR"
fi
#------------------------------------------------------------------------------
......
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