Debian Bug report logs - #376007
lintian: Check for maintainer scripts that rely on /usr/share/doc

version graph

Package: lintian; Maintainer for lintian is Debian Lintian Maintainers <[email protected]>; Source for lintian is src:lintian (PTS, buildd, popcon).

Reported by: Justin Pryzby <[email protected]>

Date: Thu, 29 Jun 2006 16:18:11 UTC

Severity: wishlist

Found in version lintian/1.23.8

Fix blocked by 629247: lintian: Please use a decent shell script parser

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], Debian Lintian Maintainers <[email protected]>:
Bug#376007; Package lintian. (full text, mbox, link).


Acknowledgement sent to Justin Pryzby <[email protected]>:
New Bug report received and forwarded. Copy sent to Debian Lintian Maintainers <[email protected]>. (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Justin Pryzby <[email protected]>
To: [email protected]
Subject: lintian: please err when maintscripts rely on /usr/share/doc
Date: Thu, 29 Jun 2006 12:05:52 -0400
Package: lintian
Version: 1.23.8
Severity: wishlist

perl -0ne '/.*\b(cat|sed|cp)\b(.*\\\n)*.*\/usr\/share\/doc\/.*/ && print "$&\n"'

It would be nice to support variables, too:

perl -0ne '/\b(\w+)=.*\/usr(\/share)?\/doc\/(?s:.*)\b(cp|cat|sed)\b.*\1/ && print "$&\n"'



Information stored:
Bug#376007; Package lintian. (full text, mbox, link).


Acknowledgement sent to Justin Pryzby <[email protected]>:
Extra info received and filed, but not forwarded. (full text, mbox, link).


Message #10 received at [email protected] (full text, mbox, reply):

From: Justin Pryzby <[email protected]>
To: [email protected]
Subject: Re: lintian: please err when maintscripts rely on /usr/share/doc
Date: Fri, 30 Jun 2006 16:28:40 -0400
On Thu, Jun 29, 2006 at 12:05:52PM -0400, pryzbyj wrote:
> Package: lintian
> Version: 1.23.8
> Severity: wishlist
> 
> perl -0ne '/.*\b(cat|sed|cp)\b(.*\\\n)*.*\/usr\/share\/doc\/.*/ && print "$&\n"'
(\/share)?\/ here too.

> It would be nice to support variables, too:
> 
> perl -0ne '/\b(\w+)=.*\/usr(\/share)?\/doc\/(?s:.*)\b(cp|cat|sed)\b.*\1/ && print "$&\n"'



Changed Bug title to `[checks/scripts] warn of maintainer scripts that rely on /usr/share/doc' from `lintian: please err when maintscripts rely on /usr/share/doc'. Request was from Russ Allbery <[email protected]> to [email protected]. (Sun, 11 Jan 2009 04:09:14 GMT) (full text, mbox, link).


Bug 376007 cloned as bugs 550641, 550642. Request was from Justin T Pryzby <[email protected]> to [email protected]. (Sun, 11 Oct 2009 18:30:09 GMT) (full text, mbox, link).


Added blocking bug(s) of 376007: 629247 Request was from Niels Thykier <[email protected]> to [email protected]. (Sun, 26 Jun 2011 19:18:02 GMT) (full text, mbox, link).


Changed Bug title to 'lintian: Check for maintainer scripts that rely on /usr/share/doc' from '[checks/scripts] warn of maintainer scripts that rely on /usr/share/doc'. Request was from Chris Lamb <[email protected]> to [email protected]. (Mon, 29 Jan 2018 13:48:18 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 08:58:12 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.