Bug#494979: command-with-path-in-maintainer-script cuts command names
Package: lintian
Version: 1.24.3
Severity: minor
Tags: patch
heya,
this is very minor but I got:
W: libpango1.0-common: command-with-path-in-maintainer-script prerm:10
/usr/bin/defoma
W: libpango1.0-common: command-with-path-in-maintainer-script
postinst:12 /usr/sbin/update
the actual commands were defoma-app and update-pangox-aliases
The test is:
if (m,^$LEADIN(/(usr/)?s?bin/\w+),) {
I tested:
m,^(/(usr/)?s?bin/[^;\s]+)($|[\s;]),
and it seemed to give decent results; what do you think?
Bye
-- System Information:
Debian Release: lenny/sid
APT prefers intrepid-updates
APT policy: (500, 'intrepid-updates'), (500, 'intrepid-security'), (500, 'intrepid-proposed'), (500, 'intrepid')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-5-generic (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages lintian depends on:
ii binutils 2.18.50.20080707-0ubuntu1 The GNU assembler, linker and bina
ii diffstat 1.45-2 produces graph of changes introduc
ii dpkg-dev 1.14.20ubuntu4 Debian package development tools
ii file 4.24-4 Determines file type using "magic"
ii gettext 0.17-3ubuntu2 GNU Internationalization utilities
ii intltool-debia 0.35.0+20060710.1 Help i18n of RFC822 compliant conf
ii libparse-debia 1.1.1-2 parse Debian changelogs and output
ii libtimedate-pe 1.1600-9 Time and date functions for Perl
ii liburi-perl 1.35.dfsg.1-1 Manipulates and accesses URI strin
ii man-db 2.5.2-2 on-line manual pager
ii perl [libdiges 5.10.0-11.1ubuntu2 Larry Wall's Practical Extraction
lintian recommends no packages.
-- no debconf information
--
Loïc Minier
Reply to: