~ubuntu-branches/ubuntu/natty/foo2zjs/natty-proposed

Viewing all changes in revision 36.

  • Committer: Bazaar Package Importer
  • Author(s): Till Kamppeter
  • Date: 2009-09-18 15:07:23 UTC
  • Revision ID: james.westby@ubuntu.com-20090918150723-4q2lkraeg2a6ykt0
Tags: 20090623-0ubuntu4
debian/foo2zjs.postinst: Fixed "lpstat -r" check for the
auto update of PPDs of existing queues. "lpstat -r" exits always with
status 0, we must check the actual output. Call lpstat, lpadmin, and
cupsctl with "-h /var/run/cups/cups.sock" to avoid querying remote
servers set up in /etc/cups/client.conf, and asking for passwords. 
Thanks to Martin-Éric Racine for tracking this down and the solution!
See Debian bug #543468. Use signal names instead of numbers for trap.
Quiesces a lintian bashism warning.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: