Fix URLs in RSS feed (fixes #1775)

This commit is contained in:
Steve Purcell 2014-06-16 08:32:59 +01:00
parent 10136d3bc7
commit 6ddc1a2305

View file

@ -32,7 +32,7 @@
package.build_time = Time.now() package.build_time = Time.now()
end end
package.url = "#{base_url}packages/#{pkgname}-#{version}." + (pkgtype == "single" ? "el" : "tar") package.url = "#{base_url}packages/#{pkgname}-#{version}." + (pkgtype == "single" ? "el" : "tar")
package.info_url = "#{base_url}##{pkgname}" package.info_url = "#{base_url}#/#{pkgname}"
package package
end end
packages.sort_by { |p| p.version }.reverse[0..200].each do |package| packages.sort_by { |p| p.version }.reverse[0..200].each do |package|