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
> dp
On Thu, Jun 26, 2014 at 02:45:21PM +0200, Dennis van Dok wrote:
> 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
>
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
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 r
4 matches
Mail list logo