We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45ab2a8 commit b2f5a5bCopy full SHA for b2f5a5b
configs/components/augeas.rb
@@ -15,7 +15,13 @@
15
raise "augeas version #{version} has not been configured; Cannot continue."
16
end
17
18
- pkg.url "http://download.augeas.net/augeas-#{pkg.get_version}.tar.gz"
+ # releases from 1.13.0 onward are only available from github
19
+ if Gem::Version.new(pkg.get_version) < Gem::Version.new('1.13.0')
20
+ # this url may be removed once 1.12.0 is no longer supported
21
+ pkg.url "http://download.augeas.net/augeas-#{pkg.get_version}.tar.gz"
22
+ else
23
+ pkg.url "https://github.com/hercules-team/augeas/releases/download/release-#{pkg.get_version}/augeas-#{pkg.get_version}.tar.gz"
24
+ end
25
26
if ['1.12.0', '1.14.1'].include?(version)
27
if platform.is_el? || platform.is_fedora?
0 commit comments