Contents of /trunk/nxserver-freenx/patches/nxserver-freenx-0.7.3-nxdialog.patch
Parent Directory | Revision Log
Revision 1792 -
(show annotations)
(download)
Mon Jun 4 14:33:04 2012 UTC (12 years, 3 months ago) by niro
File size: 592 byte(s)
Mon Jun 4 14:33:04 2012 UTC (12 years, 3 months ago) by niro
File size: 592 byte(s)
-freenx-0.7.3 patches and files
1 | diff -up freenx-server-0.7.3/nxdialog~ freenx-server-0.7.3/nxdialog |
2 | --- freenx-server-0.7.3/nxdialog~ 2011-06-20 00:02:55.175387849 +0300 |
3 | +++ freenx-server-0.7.3/nxdialog 2011-06-20 00:20:11.551917170 +0300 |
4 | @@ -88,7 +88,7 @@ if [ -x /usr/bin/Xdialog ] |
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 ] |
9 | +elif [ -x /usr/bin/dialog ] && which xterm &>/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 |