On Jun 24, 2014, at 5:53 PM, Peter Danecek <[email protected]> wrote:

> 
> On 25 Jun 2014, at 00:34, Ryan Schmidt <[email protected]> wrote:
> 
>> 
>> On Jun 24, 2014, at 4:12 PM, [email protected] 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.

_______________________________________________
macports-dev mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to