Fixed harmless /tmp problem.
This commit is contained in:
parent
1f90b5cff0
commit
3cb3651bc8
@ -59,8 +59,8 @@ type xmessage >/dev/null 2>/dev/null
|
|||||||
if [ $? -ne 0 ] ; then
|
if [ $? -ne 0 ] ; then
|
||||||
# xmessage not found; make sure the user notices this error
|
# xmessage not found; make sure the user notices this error
|
||||||
# (GUI users wouldn't even notice if we printed the text on console !)
|
# (GUI users wouldn't even notice if we printed the text on console !)
|
||||||
MSGFILE=/tmp/WINE_CANNOT_FIND_XMESSAGE
|
MSGFILE=`mktemp "/tmp/wine.xmessage.XXXXXX"`
|
||||||
cat > $MSGFILE << EOF
|
cat > $MSGFILE <<EOF
|
||||||
Warning:
|
Warning:
|
||||||
The Wine launcher is unable to find the xmessage program,
|
The Wine launcher is unable to find the xmessage program,
|
||||||
which it needs to properly notify you of Wine execution status
|
which it needs to properly notify you of Wine execution status
|
||||||
@ -87,6 +87,7 @@ EOF
|
|||||||
|
|
||||||
# ok, we really give up now, this system is hosed ;-)
|
# ok, we really give up now, this system is hosed ;-)
|
||||||
cat $MSGFILE
|
cat $MSGFILE
|
||||||
|
rm $MSGFILE
|
||||||
else
|
else
|
||||||
XMESSAGE="xmessage $COLOR"
|
XMESSAGE="xmessage $COLOR"
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user