Permalink
Browse files

update gnu_parallel version to latest release and dont build if it ex…

…ists
  • Loading branch information...
1 parent 128a47b commit 7764d41592912b30523b52c8c8edecfb37121737 @jtimberman jtimberman committed May 22, 2011
Showing with 3 additions and 2 deletions.
  1. +2 −2 gnu_parallel/attributes/default.rb
  2. +1 −0 gnu_parallel/recipes/source.rb
@@ -25,6 +25,6 @@
end
default['gnu_parallel']['url'] = 'http://ftp.gnu.org/gnu/parallel'
-default['gnu_parallel']['version'] = '20110422'
-default['gnu_parallel']['checksum'] = '93de16270d6d68504b1e66893838f499c5120c75cf02efabbceb564a1520dfe7'
+default['gnu_parallel']['version'] = '20110522'
+default['gnu_parallel']['checksum'] = '2e60c2052af9b49f8e82b5a32e19c6e9af5cb9b8bfd13717dab79a518dc867be'
default['gnu_parallel']['configure_options'] = []
@@ -34,4 +34,5 @@
(cd parallel-#{version} && ./configure #{node['gnu_parallel']['configure_options'].join(" ")})
(cd parallel-#{version} && make && make install)
EOF
+ not_if "parallel --version | grep -x 'GNU parallel #{version}'"
end

0 comments on commit 7764d41

Please sign in to comment.