projects
/
git-tools-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ef3cf4
)
Enable selective update. First parameter is list of distributions. If empty, all
author
Dennis Schafroth
<dennis@indexdata.com>
Wed, 30 Jan 2013 15:53:39 +0000
(15:53 +0000)
committer
Dennis Schafroth
<dennis@indexdata.com>
Wed, 30 Jan 2013 15:53:39 +0000
(15:53 +0000)
update-archive/update-archive.sh
patch
|
blob
|
history
diff --git
a/update-archive/update-archive.sh
b/update-archive/update-archive.sh
index
e982046
..
b642138
100755
(executable)
--- a/
update-archive/update-archive.sh
+++ b/
update-archive/update-archive.sh
@@
-15,9
+15,14
@@
confdir=`pwd`
architectures="i386 amd64"
-for vdist in ubuntu/lucid \
- ubuntu/natty ubuntu/oneiric ubuntu/precise ubuntu/quantal \
- debian/wheezy debian/squeeze; do
+architectures="i386 amd64"
+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