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

Bug#244628: lintian: false warning for update-menus



On Mon, 19 Apr 2004, Colin Watson wrote:

> On Mon, Apr 19, 2004 at 10:04:45AM +0200, Andreas Tille wrote:
> > --- menus.orig	2004-04-17 11:08:55.000000000 +0200
> > +++ menus	2004-04-17 11:08:26.000000000 +0200
> > @@ -279,7 +279,7 @@
> >  	}
> >
> >  	# does the script call update-menus?
> > -	if (/update-menus/ && !/--no-update-menus/) {
> > +	if (/\supdate-menus\s/ && !/--no-update-menus/) {
> >  	    # yes, it does.
> >  	    $pres->{'calls-updatemenus'} = 1;
> >
>
> That's wrong - it doesn't match 'update-menus' appearing at the start of
> a line. Maybe something like /(?:^|\s)update-menus(?:\s|$)/' would be
> better, and then the second half of the condition can be dropped too.
Thanks for the corretcion

         Andreas.



Reply to: