Bug#244628: lintian: false warning for update-menus
Package: lintian
Version: 1.22.12
Severity: normal
Tags: patch
Hello,
lintian gives a false warning if a script which just *contains*
update-menus in the name is called. For instance Custom Debian
Distributions call a script cdd-update-menus which causes lintian
to throw an error message which is wrong.
Kind regards and thanks for maintaining lintian
Andreas.
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (499, 'testing'), (50, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.22
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (ignored: LC_ALL set to de_DE@euro)
Versions of packages lintian depends on:
ii binutils 2.14.90.0.7-6 The GNU assembler, linker and bina
ii diffstat 1.34-1 produces graph of changes introduc
ii file 4.07-2 Determines file type using "magic"
ii man-db 2.4.2-14 The on-line manual pager
ii perl 5.8.3-3 Larry Wall's Practical Extraction
-- no debconf information
--- 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;
Reply to: