Andreas Beckmann dixit:

> Which is another point for *shipping* the directories to let dpkg do the
> refcounting, otherwise the manually created directory gets removed by dpkg
> removing a different package.

Hmh, good point.

> On 05/03/2021 16.17, Thorsten Glaser wrote:
>>> Why don't you ship the three empty directories in the package?
>>
>> lintian considers that an error.
>
> which can be overridden if you intentionally want to ship empty
> directories as in this case

Hmm…

| Tag: package-contains-empty-directory
| Severity: info
| Check: files/empty-directories
| Explanation: 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

So overriding this if the empty directory is deliberate is not only
okay but actually considered normal and perhaps even perferrable?

Maybe some wording could be added in lintian, so that’s clearer.
The mere _existence_ of that tag (perhaps also in linda, back then)
scared me away from ever shipping empty directories in Debian…

I’ll reconsider that later, for now I’ve plugged the issue differently.

Thanks,
//mirabilos
-- 
Solange man keine schmutzigen Tricks macht, und ich meine *wirklich*
schmutzige Tricks, wie bei einer doppelt verketteten Liste beide
Pointer XORen und in nur einem Word speichern, funktioniert Boehm ganz
hervorragend.           -- Andreas Bogk über boehm-gc in d.a.s.r

Reply via email to