Skip to content

Commit

Permalink
update_openssl_certs on pkg install openssl
Browse files Browse the repository at this point in the history
  • Loading branch information
mpapis committed Sep 7, 2012
1 parent f941831 commit d6c8c72
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions scripts/functions/pkg
Expand Up @@ -182,8 +182,16 @@ openssl()
$configure_command $openssl_os -I$rvm_usr_path/include -L$rvm_usr_path/lib --prefix=$rvm_usr_path zlib no-asm no-krb5 shared
)
install_package
__rvm_log_command openssl.certs "Updating openssl certificates" update_openssl_certs
}

update_openssl_certs()
(
builtin cd $rvm_usr_path/ssl &&
command curl -O http://curl.haxx.se/ca/cacert.pem &&
mv cacert.pem cert.pem
)

zlib()
{
package="zlib" ; version="1.2.7" ; archive_format="tar.gz"
Expand Down

0 comments on commit d6c8c72

Please sign in to comment.