Skip to content
This repository was archived by the owner on May 14, 2021. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions attributes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@
default['hg']['windows_arch'] = "x86"
end
default['hg']['version'] = "2.4.0"
default['hg']['windows_package'] = "Mercurial #{node['hg']['version']} (#{node['hg']['windows_arch']})"
default['hg']['windows_url'] = "http://mercurial.selenic.com/release/windows/mercurial-#{node['hg']['version']}-#{node['hg']['windows_arch']}.msi"
end
2 changes: 1 addition & 1 deletion recipes/package.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

case node['platform']
when "windows"
windows_package "Mercurial" do
windows_package node['hg']['windows_package'] do
source node['hg']['windows_url']
action :install
end
Expand Down