Magellan Linux

Annotation of /trunk/nxserver-freenx/patches/nxserver-freenx-0.7.3-nxipp.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1792 - (hide annotations) (download)
Mon Jun 4 14:33:04 2012 UTC (12 years ago) by niro
File size: 545 byte(s)
-freenx-0.7.3 patches and files
1 niro 1792 diff -up freenx-server-0.7.3/nxsetup~ freenx-server-0.7.3/nxsetup
2     --- freenx-server-0.7.3/nxsetup~ 2011-12-30 23:04:53.515194711 +0200
3     +++ freenx-server-0.7.3/nxsetup 2011-12-30 23:05:55.499954085 +0200
4     @@ -366,11 +366,10 @@ EOF
5    
6     echo "done"
7    
8     - if [ -d "$CUPS_BACKEND" ]
9     + if [ -d "$CUPS_BACKEND" ] && [ ! -f "$CUPS_IPP_BACKEND" ]
10     then
11     echo -n "Setting up cups nxipp backend ..."
12     - cp -af "$CUPS_BACKEND/ipp" "$CUPS_IPP_BACKEND"
13     - chmod 755 "$CUPS_IPP_BACKEND"
14     + ln -sf "$CUPS_BACKEND/ipp" "$CUPS_IPP_BACKEND"
15     echo "done"
16     fi
17     }