[121758] trunk/dports/security/igtf-ca-bundle/Portfile

petr at macports.org petr at macports.org
Mon Jul 7 04:58:23 PDT 2014


Revision: 121758
          https://trac.macports.org/changeset/121758
Author:   petr at macports.org
Date:     2014-07-07 04:58:23 -0700 (Mon, 07 Jul 2014)
Log Message:
-----------
igtf-ca-bundle @1.58: revert on change in r121410 which introduced a bug on deactivation;
revision bump, minor correction to use filespath now;

Revision Links:
--------------
    https://trac.macports.org/changeset/121410

Modified Paths:
--------------
    trunk/dports/security/igtf-ca-bundle/Portfile

Modified: trunk/dports/security/igtf-ca-bundle/Portfile
===================================================================
--- trunk/dports/security/igtf-ca-bundle/Portfile	2014-07-07 10:09:21 UTC (rev 121757)
+++ trunk/dports/security/igtf-ca-bundle/Portfile	2014-07-07 11:58:23 UTC (rev 121758)
@@ -5,6 +5,7 @@
 
 name                igtf-ca-bundle
 version             1.58
+revision            1
 categories          security net
 platforms           darwin
 supported_archs     noarch
@@ -60,7 +61,7 @@
         README.txt \
             ${dest_doc}
     # These are added to comply with MPL licensing
-    xinstall -m 644 -W  ${portpath}/files \
+    xinstall -m 644 -W ${filespath} \
         LICENSE-CC-BY-3_0 \
         LICENSE-MPL-1_1 \
             ${dest_doc}
@@ -74,7 +75,7 @@
     ui_msg "Purging CRLs ..."
     system "${prefix}/sbin/clean-crl -v -l ${certdir}"
 
-    # cleanup leftover directories
-    delete ${certdir}
-    delete ${prefix}/etc/grid-security
+    # cleanup leftover directories only if empty
+    catch {file delete ${certdir}}
+    catch {file delete ${prefix}/etc/grid-security}
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140707/aa1dff3c/attachment-0001.html>


More information about the macports-changes mailing list