#!/bin/sed # --- T2-COPYRIGHT-NOTE-BEGIN --- # T2 SDE: misc/share/CVTranslations # Copyright (C) 2005 - 2021 The T2 SDE Project # # This Copyright note is generated by scripts/Create-CopyPatch, # 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 version 2. # --- 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/tags, s,^\(http.*github.com/.*\)/archive.*,\1/tags, #s,^http.*github.com/\([^/]*\)/\([^/]*\)/.*,https://api.github.com/repos/\1/\2/releases/latest, #s,\(.*gitlab[^/]*\)/\([^/]*\)/\([^/]*\).*,\1/api/v4/projects/\2%2F\3/releases, s,\(gitlab.*\)/archive/.*,\1/tags/, # Apache downloads s,^http://dl.apache.org/,http://www.eu.apache.org/,