Fwd: Cleaning up during uninstall and submitting Portfile

Ryan Schmidt ryandesign at macports.org
Thu Apr 2 17:31:29 PDT 2009


Forwarding to list. Please use Reply All so your reply goes to the  
list too, not just to me.


Anand wrote:

> Ryan wrote:
>
>> Anand wrote:
>>
>>> Actually, this is what I'm already doing. However, at run-time,  
>>> the package creates files in these directories, so Macports  
>>> doesn't remove them. That's why I was asking about something like  
>>> a post-uninstall hook, which can remove these (possibly) nonempty  
>>> directories, and remove the user account created during package  
>>> installation.
>>
>> Oh yes, understood. But sorry, no, there is no post-uninstall  
>> hook. There are several ports where this would be useful, but  
>> nobody has written it yet.
>
>
> Okay, thanks for letting me know. I'll live without the post- 
> install hook for now. Many other ports behave this way too, so it's  
> not a big problem.



More information about the macports-dev mailing list