Hi, On 06/29/2017 02:11 PM, Alexandre Detiste wrote: > Hi, > > When I took over cruft, I realized support for "filters-miss/" has never > been fully implemented; so it hasn't been re-implemented in cruft-ng: > > See here: nothing > https://sources.debian.net/src/cruft/0.9.12/filters-miss/ > >> it seems empty directories sometimes get missing in dpkg. Not sure yet >> whether this is a bug and if so, in which package. > >> It would be nice to have a way to at least manually ignore these. > > libglib2.0-0 is still using deprecated CDBS build system; > a wild guess is that witching to modern Debhelper would > make this problem disapear.
So you think debhelper would add postinst code to make sure those directories are present? Because I see no other way the build system would affect the outcome. > This is likely more globaly usefull than implemeting manual > filtering of missing files in cruft/cruft-ng I found more use cases in the meantime... - /etc/python2.7/sitecustomize.py doesn't get created on upgrade/reinstall - the glib problem/bug sometimes also triggers with /usr/share/glib-2.0/schemas - sometimes I explicitly don't want a config file to be present (signalled by renaming it to FOO.dpkg-dist). For example init scripts when I only want the binary, not the service. Or the many exim config snippets you don't want to activate. cheers, Stefan

