Package: lintian Version: 1.24.3 Severity: wishlist Tags: patch Hi,
Please add a reference to the -empty option of find in the tag description for "package-contains-empty-directory". I've seen a few packages that call "rm -rf" for a large number of empty directories manually which is not really desirable in all situations. Hopefully a pointer towards "find -empty" in the long description will be helpful here. Patch attached. Regards, -- Chris Lamb, UK [EMAIL PROTECTED] GPG: 0x634F9A20
From a98f4b53652cbab6f2ec18e24289b5e2b2f1a5e4 Mon Sep 17 00:00:00 2001 From: Chris Lamb <[EMAIL PROTECTED]> Date: Thu, 14 Aug 2008 23:06:26 +0100 Subject: [PATCH] Add example "find [..] -empty [..]" snippet to package-contains-empty-directory description. --- checks/files.desc | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/checks/files.desc b/checks/files.desc index 8c57969..f28fb25 100644 --- a/checks/files.desc +++ b/checks/files.desc @@ -718,6 +718,11 @@ Tag: package-contains-empty-directory Type: warning Info: This package installs an empty directory. This might be intentional but it's normally a mistake. If it is intentional, add a lintian override. + . + If a package ships with or installs empty directories, you can remove them + in debian/rules by calling: + . + $ find path/to/base/dir -type d -empty -delete Tag: package-section-games-but-contains-no-game Type: error -- 1.5.6.3
signature.asc
Description: PGP signature