[Pkg-cups-devel] Bug#552389: Bug#552389: cups-pdf: wrong check for 'removing' in postinst script

Eugene V. Lyubimkin jackyf at debian.org
Mon Oct 26 08:55:02 UTC 2009


Martin-Éric Racine wrote:
> On Sun, Oct 25, 2009 at 11:50 PM, Eugene V. Lyubimkin <jackyf at 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-cups-devel/attachments/20091026/d5a65d5c/attachment.pgp>


More information about the Pkg-cups-devel mailing list