Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

use gzip instead of bzip for php source

  • Loading branch information...
commit 3b681b953c431d148b752c9c01f66c1a64b5e815 1 parent fada878
@jtimberman jtimberman authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 php/recipes/source.rb
View
8 php/recipes/source.rb
@@ -40,8 +40,8 @@
version = node['php']['version']
-remote_file "#{Chef::Config[:file_cache_path]}/php-#{version}.tar.bz2" do
- source "#{node['php']['url']}/php-#{version}.tar.bz2"
+remote_file "#{Chef::Config[:file_cache_path]}/php-#{version}.tar.gz" do
+ source "#{node['php']['url']}/php-#{version}.tar.gz"
checksum node['php']['checksum']
mode "0644"
not_if "which php"
@@ -50,7 +50,7 @@
bash "build php" do
cwd Chef::Config[:file_cache_path]
code <<-EOF
- tar -jxvf php-#{version}.tar.bz2
+ tar -zxvf php-#{version}.tar.gz
(cd php-#{version} && ./configure #{configure_options})
(cd php-#{version} && make && make install)
EOF
@@ -76,4 +76,4 @@
owner "root"
group "root"
mode "0644"
-end
+end
Please sign in to comment.
Something went wrong with that request. Please try again.