forked from Mirrors/wine-wine
Make winelauncher test for xmessage and warn the user if they don't
have it.oldstable
parent
ee21c443c6
commit
4aaaf41019
|
@ -45,7 +45,27 @@ COLOR=' -xrm *.Command.background:darkgrey
|
||||||
-xrm *.background:black'
|
-xrm *.background:black'
|
||||||
|
|
||||||
|
|
||||||
|
#------------------------------------------------------------------------------
|
||||||
|
# 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"
|
XMESSAGE="xmessage $COLOR"
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue