~ubuntu-branches/ubuntu/maverick/splix/maverick

Viewing all changes in revision 27.

  • Committer: Bazaar Package Importer
  • Author(s): Till Kamppeter
  • Date: 2009-09-18 14:57:49 UTC
  • Revision ID: james.westby@ubuntu.com-20090918145749-iil69eijcnelhcwe
Tags: 2.0.0-2ubuntu2
debian/splix.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: