diff options
author | Dan Armak <danarmak@gentoo.org> | 2002-08-23 16:36:47 +0000 |
---|---|---|
committer | Dan Armak <danarmak@gentoo.org> | 2002-08-23 16:36:47 +0000 |
commit | db051573fee8dd51235ca76c98dbe3502600e93b (patch) | |
tree | ac22b2363522665c45bd9b771ee973e43cae6365 /eclass/kde-i18n.org.eclass | |
parent | Fixed Digest (diff) | |
download | gentoo-2-db051573fee8dd51235ca76c98dbe3502600e93b.tar.gz gentoo-2-db051573fee8dd51235ca76c98dbe3502600e93b.tar.bz2 gentoo-2-db051573fee8dd51235ca76c98dbe3502600e93b.zip |
fix mirror paths
Diffstat (limited to 'eclass/kde-i18n.org.eclass')
-rw-r--r-- | eclass/kde-i18n.org.eclass | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/eclass/kde-i18n.org.eclass b/eclass/kde-i18n.org.eclass index 1e6f324e473f..7fcb7eec8e96 100644 --- a/eclass/kde-i18n.org.eclass +++ b/eclass/kde-i18n.org.eclass @@ -1,23 +1,26 @@ # Copyright 1999-2000 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Dan Armak <danarmak@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/eclass/kde-i18n.org.eclass,v 1.4 2002/07/27 23:47:31 drobbins Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/kde-i18n.org.eclass,v 1.5 2002/08/23 16:36:47 danarmak Exp $ # Contains the locations of i18n ftp.kde.org packages and their mirrors ECLASS=kde-i18n.org INHERITED="$INHERITED $ECLASS" -SRC_PATH="kde/stable/${PV}/src/${P}.tar.bz2" - -# new location format starting with 3.0.2 -if [ "$PV" == "3.0.2" ]; then - SRC_PATH="kde/stable/${PV}/src/kde-i18n/${P}.tar.bz2" -fi +case $PV in + '3.0.2'|'3.0.3') + # new location format starting with 3.0.2 + SRC_PATH="kde/stable/${PV}/src/kde-i18n/${P}.tar.bz2" + ;; + *) + SRC_PATH="kde/stable/${PV}/src/${P}.tar.bz2" + ;; +esac SRC_URI="$SRC_URI ftp://ftp.kde.org/pub/$SRC_PATH - ftp://download.us.kde.org/pub/kde/$SRC_PATH - ftp://download.uk.kde.org/pub/kde/$SRC_PATH - ftp://download.au.kde.org/pub/kde/$SRC_PATH - ftp://download.at.kde.org/pub/kde/$SRC_PATH + ftp://download.us.kde.org/pub/$SRC_PATH + ftp://download.uk.kde.org/pub/$SRC_PATH + ftp://download.au.kde.org/pub/$SRC_PATH + ftp://download.at.kde.org/pub/$SRC_PATH ftp://ftp.fh-heilbronn.de/pub/mirrors/$SRC_PATH ftp://ftp.sourceforge.net/pub/mirrors/$SRC_PATH" |