X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=update-archive%2Fupdate-archive.sh;h=1cec276ec6d663c579790284cac71f7051f6454c;hb=45708c48adcb3e2b9b9f74732b166d05b440b6b8;hp=80a89c97f6b0a02eebb2e0719d3978c6aae33fb7;hpb=51855aa5439b20876a9f10d982eb7357ffdf39ed;p=git-tools-moved-to-github.git diff --git a/update-archive/update-archive.sh b/update-archive/update-archive.sh index 80a89c9..1cec276 100755 --- a/update-archive/update-archive.sh +++ b/update-archive/update-archive.sh @@ -15,7 +15,13 @@ confdir=`pwd` architectures="i386 amd64" -for vdist in ubuntu/gutsy ubuntu/hardy ubuntu/intrepid ubuntu/jaunty ubuntu/karmic ubuntu/lucid debian/squeeze debian/lenny debian/etch; do +if [ "$1" == "" ]; then + DISTRIBUTIONS="ubuntu/lucid ubuntu/natty ubuntu/oneiric ubuntu/precise ubuntu/quantal debian/wheezy debian/squeeze debian/lenny" +else + DISTRIBUTIONS=$1 +fi + +for vdist in $DISTRIBUTIONS ; do dist=`basename $vdist` vendor=`dirname $vdist` ftpdir=/home/ftp/pub/$vendor