Skip to content
This repository has been archived by the owner on Jan 15, 2025. It is now read-only.

Commit

Permalink
fix augeas pkg.url
Browse files Browse the repository at this point in the history
versions after 1.12.0 are only available from Github
  • Loading branch information
h0tw1r3 committed May 8, 2024
1 parent 45ab2a8 commit 52e5f91
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion configs/components/augeas.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@
raise "augeas version #{version} has not been configured; Cannot continue."
end

pkg.url "http://download.augeas.net/augeas-#{pkg.get_version}.tar.gz"
if Gem::version.new(version) < Gem::version.new('1.13.0')
pkg.url "http://download.augeas.net/augeas-#{pkg.get_version}.tar.gz"
else
pkg.url "https://github.com/hercules-team/augeas/releases/download/release-#{pkg.get_version}/augeas-#{pkg.get_version}.tar.gz"
end

if ['1.12.0', '1.14.1'].include?(version)
if platform.is_el? || platform.is_fedora?
Expand Down

0 comments on commit 52e5f91

Please sign in to comment.