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

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



On 26-06-14 23:21, Lars Wirzenius wrote:
> I think the following should work:
> 
> * Include the /etc/grid-security/certificates directory in your .deb.
> * In postinst, add the symlinks.
> * In prerm, remove the symlinks.
> 
> This way, the directory will be added and removed automatically by
> dpkg, and it will be kept if any other package contains it or if there
> are any files there other than the symlinks you remove.

Works like a charm! Thanks!

Dennis
-- 
D.H. van Dok :: System administrator :: www.nikhef.nl/grid ::
Phone +31 20 592 22 28 :: http://www.nikhef.nl/~dennisvd/


Reply to: