Contents of /trunk/nxserver-freenx/patches/nxserver-freenx-0.7.3-prefer-xmessage.patch
Parent Directory | Revision Log
Revision 1796 -
(show annotations)
(download)
Tue Jun 5 11:54:30 2012 UTC (12 years, 3 months ago) by niro
File size: 641 byte(s)
Tue Jun 5 11:54:30 2012 UTC (12 years, 3 months ago) by niro
File size: 641 byte(s)
-added more patches
1 | diff -Naur freenx-server-0.7.3/nxdialog freenx-server-0.7.3-magellan/nxdialog |
2 | --- freenx-server-0.7.3/nxdialog 2012-06-05 13:59:14.472982661 +0200 |
3 | +++ freenx-server-0.7.3-magellan/nxdialog 2012-06-05 14:14:27.091982661 +0200 |
4 | @@ -88,7 +88,7 @@ |
5 | then |
6 | dialog_interface="xdialog" |
7 | DIALOG=/usr/bin/Xdialog # just in case that we have no good path |
8 | -elif [ -x /usr/bin/dialog ] && which xterm &>/dev/null |
9 | +elif [ -x /usr/bin/dialog ] && which xterm &>/dev/null && ! which xmessage &>/dev/null |
10 | then |
11 | #JJK: Added 'dialog_interface=dialog' option because Xdialog not standard |
12 | #JJK: on some distros such as Fedora and xmessage won't handle long |