Permalink
Browse files

yum repo for erlang uses "i386" instead of "i686" for arch

  • Loading branch information...
1 parent e8abb0d commit c9ef5748eed60d78e740f137f037a104031eba28 @jtimberman jtimberman committed Jan 25, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 erlang/recipes/default.rb
@@ -25,6 +25,7 @@
package erlpkg
package "erlang-dev"
when "redhat", "centos", "scientific"
+ repo_arch = node['kernel']['machine'] =~ /i[36]86/ ? "i386" : "x86_64"
include_recipe "yum::epel"
yum_repository "erlang" do
name "EPELErlangrepo"

0 comments on commit c9ef574

Please sign in to comment.