[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#648697: thailatex: postinst called with unknown argument 'triggered'



On Monday, 14. November 2011 11:10:55 Theppitak Karoonboonyanan wrote:
> On Mon, Nov 14, 2011 at 4:47 PM, Theppitak Karoonboonyanan
>
> <thep@debian.org> wrote:
> > This is from the postinst portion generated by dh_installtex:
> >
> >From a tex package maintainer's point of view, I think a NOP case for
>
> "triggered" arg should be added:

I don't think maintainer script snippets generated by debhelper scripts should 
handle unknown options at all. They should just act on the options they are 
interested in and ignore any other.

So this should not be generated:

> >    *)
> >        echo "postinst called with unknown argument '$1'" >&2
> >        exit 1
> >    ;;

Andreas

PS: as this bug affects several piuparts tests of other packages, I'll set
  Affects: other-package
  Found: other-package/1.2.3-4
on this bug report so that piuparts-analyze can find this bug report and move 
the affected logs to the bugged category.



Reply to: