Changeset 121 for trunk/fink/main/finkinfo/macathena-ssl-certificates.info
- Timestamp:
- 03/01/08 16:13:27 (17 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/fink/main/finkinfo/macathena-ssl-certificates.info
r95 r121 22 22 << 23 23 PostInstScript: << 24 #!/bin/bash25 if [ "$ (/usr/bin/sw_vers -productVersion | cut -d. -f1-2)" == "10.5" ]24 VERSION=`/usr/bin/sw_vers -productVersion | cut -d. -f1-2` 25 if [ "$VERSION" == "10.5" ] 26 26 then 27 27 security find-certificate -e "MIT Certification Authority" || security add-trusted-cert -d -k /Library/Keychains/System.keychain %p/share/%n/mitCA.pem 28 28 else 29 security add-cert -k /System/Library/Keychains/X509Anchors %p/share/%n/mitCA.der || :29 security find-certificate -e "MIT Certification Authority" /Library/Keychains/System.keychain /System/Library/Keychains/X509Anchors || security add-cert -k /System/Library/Keychains/X509Anchors %p/share/%n/mitCA.der 30 30 fi 31 31 <<