#!/bin/sed
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# 
# T2 SDE: misc/share/CVTranslations
# Copyright (C) 2005 - 2020 The T2 SDE Project
# 
# More information can be found in the files COPYING and README.
# 
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- T2-COPYRIGHT-NOTE-END ---

# normal user will always find their files on our mirrors, so this will be used only by developers

# sourceforge hell
s,^http://.*dl.\(sourceforge\|sf\).net/\([^s][^o][^u][^r]\),http://dl.sourceforge.net/sourceforge/\2,
s,^http://.*dl.\(sourceforge\|sf\).net/sourceforge/\([^/]*\)/,http://sourceforge.net/projects/\2/files/,

s,^\(http.*github.com/.*releases/\).*,\1,
s,^\(http.*github.com/.*\)/archive.*,\1/releases,

# Apache downloads
s,^http://dl.apache.org/,http://www.eu.apache.org/,
