Permalink
Browse files

fix for the curl-devel package name change.

  • Loading branch information...
David Johansen
David Johansen committed Sep 28, 2012
1 parent be959de commit 07447464b1f2514944a25c4c70cc6d3a40b88740
Showing with 7 additions and 1 deletion.
  1. +7 −1 passenger_apache2/recipes/default.rb
@@ -27,7 +27,13 @@
if platform?("centos","redhat")
package "httpd-devel"
- package "curl-devel"
+if node['platform_version'].to_f < 6.0
+ package 'curl-devel'
+ else
+ package 'libcurl-devel'
+ package 'openssl-devel'
+ package 'zlib-devel'
+ end
else
%w{ apache2-prefork-dev libapr1-dev libcurl4-gnutls-dev }.each do |pkg|
package pkg do

0 comments on commit 0744746

Please sign in to comment.