public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/gentoo-mirrorstats:master commit in: experimental_mirrors/, releases_mirrors/
@ 2020-04-28 11:46 Max Magorsch
  0 siblings, 0 replies; only message in thread
From: Max Magorsch @ 2020-04-28 11:46 UTC (permalink / raw
  To: gentoo-commits

commit:     2360bf2e7540d90c2fff6a10b1b7aae8ad98b394
Author:     Max Magorsch <arzano <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 28 11:46:05 2020 +0000
Commit:     Max Magorsch <arzano <AT> gentoo <DOT> org>
CommitDate: Tue Apr 28 11:46:05 2020 +0000
URL:        https://gitweb.gentoo.org/proj/gentoo-mirrorstats.git/commit/?id=2360bf2e

Fix the url for releases and experimental mirrors

Signed-off-by: Max Magorsch <arzano <AT> gentoo.org>

 experimental_mirrors/get-mirror-list-experimental.rb | 6 +-----
 releases_mirrors/get-mirror-list-releases.rb         | 6 +-----
 2 files changed, 2 insertions(+), 10 deletions(-)

diff --git a/experimental_mirrors/get-mirror-list-experimental.rb b/experimental_mirrors/get-mirror-list-experimental.rb
index 3e4bae4..0794df3 100755
--- a/experimental_mirrors/get-mirror-list-experimental.rb
+++ b/experimental_mirrors/get-mirror-list-experimental.rb
@@ -11,11 +11,7 @@ REXML::XPath.each(x, '//*/mirrorgroup[@country]') {|el|
   country = el.attributes['country']
 
   el.each_element('mirror/uri/') do |mirror|
-    if mirror[0].to_s.end_with?("/")
-      puts "#{country.downcase} #{mirror[0].to_s}experimental/"
-    else
-      puts "#{country.downcase} #{mirror[0].to_s}/experimental/"
-    end
+    puts "#{country.downcase} #{mirror[0].to_s}"
   end
 
 }

diff --git a/releases_mirrors/get-mirror-list-releases.rb b/releases_mirrors/get-mirror-list-releases.rb
index bb6b14c..0794df3 100755
--- a/releases_mirrors/get-mirror-list-releases.rb
+++ b/releases_mirrors/get-mirror-list-releases.rb
@@ -11,11 +11,7 @@ REXML::XPath.each(x, '//*/mirrorgroup[@country]') {|el|
   country = el.attributes['country']
 
   el.each_element('mirror/uri/') do |mirror|
-    if mirror[0].to_s.end_with?("/")
-      puts "#{country.downcase} #{mirror[0].to_s}releases/"
-    else
-      puts "#{country.downcase} #{mirror[0].to_s}/releases/"
-    end
+    puts "#{country.downcase} #{mirror[0].to_s}"
   end
 
 }


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-04-28 11:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-28 11:46 [gentoo-commits] proj/gentoo-mirrorstats:master commit in: experimental_mirrors/, releases_mirrors/ Max Magorsch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox