Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 193031

Summary: net-misc/nxserver-freenx-0.7.0-r1 - bad syntax in /usr/bin/nxnode
Product: Gentoo Linux Reporter: Alastair Burt <burt>
Component: Current packagesAssignee: Gentoo NX Server project <nx>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Alastair Burt 2007-09-19 08:26:51 UTC
I had to change 



Reproducible: Always
Comment 1 Alastair Burt 2007-09-19 08:30:55 UTC
Package: net-misc/nxserver-freenx-0.7.0-r1

In file /usr/bin/nxnode, I had to change

node_start_monitor()
{
        [ "$ENABLE_2_0_0_BACKEND" = "1" || "$ENABLE_3_0_0_BACKEND" = "1" ] && node_start_monitor_2_0_0 "$@"
        [ "$ENABLE_2_0_0_BACKEND" = "1" || "$ENABLE_3_0_0_BACKEND" = "1" ] || node_start_monitor_1_5_0 "$@"
}

to:

node_start_monitor()
{
        [ "$ENABLE_2_0_0_BACKEND" = "1" -o "$ENABLE_3_0_0_BACKEND" = "1" ] && node_start_monitor_2_0_0 "$@"
        [ "$ENABLE_2_0_0_BACKEND" = "1" -o "$ENABLE_3_0_0_BACKEND" = "1" ] || node_start_monitor_1_5_0 "$@"
}
Comment 2 Bernard Cafarelli gentoo-dev 2007-09-19 15:34:57 UTC
Fixed in CVS, thanks!