[Pkg-cups-devel] Proposed minor resilience mod for Etch cupsys-bsd.postinst

Jo Mills jo at maniscorse.co.uk
Sat Nov 15 12:14:09 UTC 2008


Hi,

I wondered if the following minor change might make the Etch

    /var/lib/dpkg/info/cupsys-bsd.postinst
    
script a little bit more resilient?  Might I propose that
the line which says:

  printcap_file=`egrep '^Printcap ' /etc/cups/cupsd.conf | awk '{print $2}'`

becomes

  printcap_file=`egrep '^Printcap ' /etc/cups/cupsd.conf | awk '{print $2}' | uniq`

I know it shouldn't be needed, but I don't think it does any
harm and it adds a little more robustness to the script.

Many many thanks for the all wonderful work you guys to do produce
such great packages, I really do appreciate your efforts.

Best regards,

Jo.



More information about the Pkg-cups-devel mailing list