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

Re: Packages with empty directories

Le mercredi 21 novembre 2007 à 14:08 -0500, Daniel Schepler a écrit :
> Some of the common false positives are /var/lib/<pkg> or /etc/<pkg>, or 
> subdirectories under one of those.  Since <pkg> often doesn't match the 
> binary package name exactly, I don't see any easy way to detect these cases.

What I'm suggesting is to grep for them in maintainer scripts. Any empty
directory created in /etc and which isn't used in the maintainer scripts
is likely to be a mistake.

OTOH, subdirectories of /var/lib, /var/log and /var/cache look like good
candidates for exclusion.

: :' :      We are debian.org. Lower your prices, surrender your code.
`. `'       We will add your hardware and software distinctiveness to
  `-        our own. Resistance is futile.

Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=

Reply to: