Andrew Pimlott <[EMAIL PROTECTED]> writes: > Package: cupsys-driver-gutenprint > Version: 4.3.99+cvs20050715-1 > Severity: normal > > I just upgraded to cupsys-driver-gutenprint, purging > cupsys-driver-gimpprint and cupsys-driver-gimpprint-data. In the > output, I got a whole bunch of lines "Writing ...", and then: > > sh: -c: line 0: syntax error near unexpected token `(' > sh: -c: line 0: `egrep -i -l "Gutenprint|Gimp-Print" > /etc/cups/ppd/Color-LaserJet-4600-v3010.107-Postscript-(recommended).ppd' > No Gutenprint PPD files to update. > > /etc/cups/ppd/Color-LaserJet-4600-v3010.107-Postscript-(recommended).ppd > was a file I found via linuxprinting.org and installed with > gnome-cups-add. > > The error comes from /usr/sbin/cups-genppdupdate.5.0, and it looks like > someone was sloppy around line 93. If you can assume a newer perl, I > believe you should be able to use something like > > open PPDFILES, '-|', qw( egrep -i -l ), "Gutenprint|Gimp-Print", @ppdglob > > to avoid shell quoting problems. Actually, it seems like > > open PPDFILES, "egrep -i -l \"Gutenprint|Gimp-Print\" *.{ppd,PPD}|" > > might do just as well.
Thanks for the report. This is actually a regression from cupsys-driver-gimpprint, which I must have forgotten to commit upstream. See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=302434&archive=yes I'll add the patch back in. Would you be willing to test the packages? Thanks, Roger -- Roger Leigh Printing on GNU/Linux? http://gimp-print.sourceforge.net/ Debian GNU/Linux http://www.debian.org/ GPG Public Key: 0x25BFB848. Please sign and encrypt your mail. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]