If you do create those directories in {pre,post}inst, you should
check if they are empty in {pre,post}rm and remove them
after unlinking the stuff you have linked in.

e.g. just cleanup after your package on purge

Ondrej

On Thu, Jun 26, 2014, at 14:45, Dennis van Dok wrote:
> Hi,
> 
> my packages igtf-policy-bundle has piuparts errors[1].
> 
> I'm symlinking files to /etc/grid-security/certificates/ on
> installation, and everything but the directories themselves are removed
> on package removal.
> 
> I guess I could remove these directories if they are completely empty
> after package removal, but I don't really own the directories. The use
> of these directories is an established convention with grid computing
> software.
> 
> I would appreciate your advice!
> 
> Best,
> 
> Dennis van Dok
> 
> 
> 1. https://piuparts.debian.org/sid/source/i/igtf-policy-bundle.html
> 
> 
> -- 
> D.H. van Dok :: System administrator :: www.nikhef.nl/grid ::
> Phone +31 20 592 22 28 :: http://www.nikhef.nl/~dennisvd/
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
> Archive: https://lists.debian.org/53ac15e1.4090...@nikhef.nl
> 


-- 
Ondřej Surý <ond...@sury.org>
Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server


--
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/1403788667.22785.134811305.2840a...@webmail.messagingengine.com

Reply via email to