[121399] trunk/dports/security

Ryan Schmidt ryandesign at macports.org
Tue Jun 24 15:55:52 PDT 2014


On Jun 24, 2014, at 5:53 PM, Peter Danecek <peter.danecek at ingv.it> wrote:

> 
> On 25 Jun 2014, at 00:34, Ryan Schmidt <ryandesign at macports.org> wrote:
> 
>> 
>> On Jun 24, 2014, at 4:12 PM, petr at macports.org wrote:
>> 
>>> +post-deactivate {
>>> +    ui_msg "Purging CRLs ..."
>>> +    system "${prefix}/sbin/clean-crl -v -l ${certdir}"
>>> +
>>> +    # cleanup leftover directories
>>> +    catch {file delete ${certdir}}
>>> +    catch {file delete ${prefix}/etc/grid-security}
>>> +}
>> 
>> You can just use "delete X" instead of "catch {file delete X}".
> 
> Okay, but would this change merit a revision bump? I understand that the post-(de)activate scripts are registered with the installed port, or am I wrong?

They are, but since this change would just be for stylistic reasons and wouldn't change the functionality, I wouldn't increase the revision.



More information about the macports-dev mailing list