On 2014-11-19 07:41, Helmut Grohne wrote:
>  * "rm -rf /etc/ola" is dangerous and can potentially delete too much. I
>    suggest to use "rmdir --ignore-fail-on-non-empty" if that makes the
>    package purge cleanly as well.
What about shipping the directory (potentially empty) and let dpkg do
the rmdir?
Then just delete the files in there your maintainer scripts placed.
piuparts may complain that the *owned* directory is left after purge -
that would be dpkg's fault not to retry the rmdir after the postrm purge
was run. This does not need to be worked around. dpkg will be fixed
eventually (for jessie +x)
>  * I suggest to remove the summary comments from the new scripts to
>    reduce the size of your patch.
Andreas


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to