diff options
author | Alex Legler <alex@a3li.li> | 2015-06-12 18:23:51 +0200 |
---|---|---|
committer | Alex Legler <alex@a3li.li> | 2015-06-12 18:23:51 +0200 |
commit | 1e59a8fc34822d74007827bec588fd6b55342e99 (patch) | |
tree | 9130981734ce956d06e5e79534fe9aa49a234ed7 /_plugins | |
parent | Update Foundation links as per dabbott's updates (diff) | |
download | www-1e59a8fc34822d74007827bec588fd6b55342e99.tar.gz www-1e59a8fc34822d74007827bec588fd6b55342e99.tar.bz2 www-1e59a8fc34822d74007827bec588fd6b55342e99.zip |
Rework mirror information
- Distfile -> Source mirror
- Add rsync mirror page
- Update usage docs
Diffstat (limited to '_plugins')
-rw-r--r-- | _plugins/filters.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/_plugins/filters.rb b/_plugins/filters.rb index 1a4f3c1..34ad123 100644 --- a/_plugins/filters.rb +++ b/_plugins/filters.rb @@ -17,6 +17,11 @@ module Gentoo "#{number} #{UNITS[exponent]}" end + + def rsync_url(input) + input += '/' unless input.end_with? '/' + input + 'gentoo-portage/' + end end end |