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

Re: how do I treat an un-owned leftover directory?



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-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
> Archive: [🔎] 53AC15E1.4090906@nikhef.nl">https://lists.debian.org/[🔎] 53AC15E1.4090906@nikhef.nl
> 


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


Reply to: