Bug#552389: [Pkg-cups-devel] Bug#552389: cups-pdf: wrong check for 'removing' in postinst script
On Sun, Oct 25, 2009 at 11:50 PM, Eugene V. Lyubimkin jac...@debian.org wrote: Package: cups-pdf Severity: normal From the postinst script: -8- case $1 in configure|removing) -8- Postinst script never get 'removing' as the first argument. From http://www.debian.org/doc/debian-policy/ch-maintainerscripts.html * deconfigured's-postinst abort-deconfigure in-favour failed-install-package version [removing conflicting-package version] 'removing' very much appears there. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#552389: [Pkg-cups-devel] Bug#552389: cups-pdf: wrong check for 'removing' in postinst script
Martin-Éric Racine wrote: On Sun, Oct 25, 2009 at 11:50 PM, Eugene V. Lyubimkin jac...@debian.org wrote: Package: cups-pdf Severity: normal From the postinst script: -8- case $1 in configure|removing) -8- Postinst script never get 'removing' as the first argument. From http://www.debian.org/doc/debian-policy/ch-maintainerscripts.html * deconfigured's-postinst abort-deconfigure in-favour failed-install-package version [removing conflicting-package version] 'removing' very much appears there. As sixth parameter, so 'case $1' will never match it. -- Eugene V. Lyubimkin aka JackYF, JID: jackyf.devel(maildog)gmail.com C++/Perl developer, Debian Developer signature.asc Description: OpenPGP digital signature
Bug#552389: [Pkg-cups-devel] Bug#552389: cups-pdf: wrong check for 'removing' in postinst script
On Mon, Oct 26, 2009 at 10:55 AM, Eugene V. Lyubimkin jac...@debian.org wrote: Martin-Éric Racine wrote: On Sun, Oct 25, 2009 at 11:50 PM, Eugene V. Lyubimkin jac...@debian.org wrote: Package: cups-pdf Severity: normal From the postinst script: -8- case $1 in configure|removing) -8- Postinst script never get 'removing' as the first argument. From http://www.debian.org/doc/debian-policy/ch-maintainerscripts.html * deconfigured's-postinst abort-deconfigure in-favour failed-install-package version [removing conflicting-package version] 'removing' very much appears there. As sixth parameter, so 'case $1' will never match it. Ah, right. Fix pending. They really need to rewrite that section of Policy as an HTML table, showing all the parameters in the right order. The current bulleted list is a PITA to read. :) Martin-Éric -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#552389: cups-pdf: wrong check for 'removing' in postinst script
Package: cups-pdf Severity: normal From the postinst script: -8- case $1 in configure|removing) -8- Postinst script never get 'removing' as the first argument. -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.30-1-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org