Changeset 95

Show
Ignore:
Timestamp:
01/29/08 16:57:24 (17 years ago)
Author:
quentin
Message:

On 10.5, check if the SSL certificate exists before attempting to add it

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/fink/main/finkinfo/macathena-ssl-certificates.info

    r94 r95  
    2525        if [ "$(/usr/bin/sw_vers -productVersion | cut -d. -f1-2)" == "10.5" ] 
    2626        then 
    27                 security add-trusted-cert -d -k /Library/Keychains/System.keychain %p/share/%n/mitCA.pem || : 
     27                security find-certificate -e "MIT Certification Authority" || security add-trusted-cert -d -k /Library/Keychains/System.keychain %p/share/%n/mitCA.pem 
    2828        else 
    2929                security add-cert -k /System/Library/Keychains/X509Anchors %p/share/%n/mitCA.der || :