[patch] fixing torrent links

Ricky Elrod codeblock at elrod.me
Fri Aug 20 22:46:27 UTC 2010


Our torrent links on http://torrent.fedoraproject.org/ contain two slashes in them
(such as http://torrent.fedoraproject.org/torrents//Fedora-13-source-DVD.torrent).

I was wondering thoughts on this, to fix it. Smooge was concerned about the fact that other
things might depend on the .conf files. I didn't see anything at first glance, but I could be wrong.

Thoughts on this?: 

diff --git a/configs/torrent/etc/spins_generator.conf b/configs/torrent/etc/spins_generator.conf
index 67c8253..01afeae 100644
--- a/configs/torrent/etc/spins_generator.conf
+++ b/configs/torrent/etc/spins_generator.conf
@@ -1,6 +1,6 @@
 [main]
 inidir=/srv/torrent/spins-generator/
-torrent_url=http://spins.fedoraproject.org/torrents/
+torrent_url=http://spins.fedoraproject.org/torrents
 htmlheader=/srv/torrent/spins-generator/head.html
 htmlfooter=/srv/torrent/spins-generator/foot.html
 rssheader=/srv/torrent/spins-generator/head.rss
diff --git a/configs/torrent/etc/torrent_generator.conf b/configs/torrent/etc/torrent_generator.conf
index e4b479f..035478f 100644
--- a/configs/torrent/etc/torrent_generator.conf
+++ b/configs/torrent/etc/torrent_generator.conf
@@ -1,6 +1,6 @@
 [main]
 inidir=/srv/torrent/torrent-generator/
-torrent_url=http://torrent.fedoraproject.org/torrents/
+torrent_url=http://torrent.fedoraproject.org/torrents
 htmlheader=/srv/torrent/torrent-generator/head.html
 htmlfooter=/srv/torrent/torrent-generator/foot.html
 rssheader=/srv/torrent/torrent-generator/head.rss



More information about the infrastructure mailing list