]> arthur.barton.de Git - netatalk.git/commitdiff
etc/filters -> libexec
authorsrittau <srittau>
Sun, 23 Feb 2003 03:16:34 +0000 (03:16 +0000)
committersrittau <srittau>
Sun, 23 Feb 2003 03:16:34 +0000 (03:16 +0000)
Anyways, this script badly needs auto-generating through autoconf.

contrib/printing/add_netatalk_printer

index 94ec4d8b9cd633f870a496b25658e34894e6331c..40de1741f45f77b994fd61babe5ff29a4e86e9d4 100644 (file)
@@ -1,6 +1,6 @@
 #! /bin/sh
 #
-# $Id: add_netatalk_printer,v 1.6 2001-10-06 12:27:38 srittau Exp $
+# $Id: add_netatalk_printer,v 1.7 2003-02-23 03:16:34 srittau Exp $
 #
 # A lovely script to add netatalk printers 
 #
@@ -46,7 +46,7 @@ fi
 NETATALKHOME=${NETATALKHOME:-$RUNHOME}
 export NETATALKHOME
 
-PATH=/bin:${PATH}:${NETATALKHOME}/bin:${NETATALKHOME}/etc:${NETATALKHOME}/etc/filters:/usr/lib:/usr/sbin
+PATH=/bin:${PATH}:${NETATALKHOME}/bin:${NETATALKHOME}/etc:${NETATALKHOME}/libexec:/usr/lib:/usr/sbin
 
 if [ ! -x ${NETATALKHOME}/bin/pap ]; then
        echo "OOPS:     I don't see ${NETATALKHOME}/bin/pap ,"
@@ -237,7 +237,7 @@ Output types: PS
 Printer types: Netatalk
 Printers: any
 Filter type: fast
-Command: ${NETATALKHOME}/etc/filters/ifpap 2>&1 > /dev/null
+Command: ${NETATALKHOME}/libexec/ifpap 2>&1 > /dev/null
 EOF
        chown lp:lp /etc/lp/fd/netatalk.fd
        chmod 664   /etc/lp/fd/netatalk.fd
@@ -257,7 +257,7 @@ Output types: PS
 Printer types: Netatalk-R
 Printers: any
 Filter type: fast
-Command: "/usr/lib/lp/postscript/postreverse | ${NETATALKHOME}/etc/filters/ifpap 2>&1 >/dev/null"
+Command: "/usr/lib/lp/postscript/postreverse | ${NETATALKHOME}/libexec/ifpap 2>&1 >/dev/null"
 EOF
        chown lp:lp /etc/lp/fd/netatalk-r.fd
        chmod 664   /etc/lp/fd/netatalk-r.fd