projects
/
git-tools-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Pass overwrite to tar for web site upload
[git-tools-moved-to-github.git]
/
update-archive
/
update-archive.sh
diff --git
a/update-archive/update-archive.sh
b/update-archive/update-archive.sh
index
6e678e6
..
e7fbabd
100755
(executable)
--- a/
update-archive/update-archive.sh
+++ b/
update-archive/update-archive.sh
@@
-1,5
+1,4
@@
#!/bin/sh
#!/bin/sh
-# $Id: update-archive.sh,v 1.13 2008-10-20 10:24:15 adam Exp $
if test ! -f apt-ftparchive.conf.in; then
echo "$0: apt-ftparchive.conf.in must be located in current directory"
exit 1
if test ! -f apt-ftparchive.conf.in; then
echo "$0: apt-ftparchive.conf.in must be located in current directory"
exit 1
@@
-16,7
+15,10
@@
confdir=`pwd`
architectures="i386 amd64"
architectures="i386 amd64"
-for vdist in ubuntu/gutsy ubuntu/hardy ubuntu/intrepid ubuntu/jaunty ubuntu/karmic debian/squeeze debian/lenny debian/etch; do
+for vdist in ubuntu/karmic ubuntu/lucid ubuntu/maverick \
+ ubuntu/natty ubuntu/oneiric ubuntu/precise \
+ debian/wheezy debian/squeeze debian/lenny \
+ debian/etch; do
dist=`basename $vdist`
vendor=`dirname $vdist`
ftpdir=/home/ftp/pub/$vendor
dist=`basename $vdist`
vendor=`dirname $vdist`
ftpdir=/home/ftp/pub/$vendor
@@
-56,8
+58,9
@@
for vdist in ubuntu/gutsy ubuntu/hardy ubuntu/intrepid ubuntu/jaunty ubuntu/karm
if $use; then
distdir=$pdir/$vendor/$dist
if test -d $distdir; then
if $use; then
distdir=$pdir/$vendor/$dist
if test -d $distdir; then
- ln -sf $distdir/*.dsc $d/source
- ln -sf $distdir/*.gz $d/source
+ for f in $distdir/*.dsc $distdir/*.gz; do
+ test -f $f && ln -sf $f $d/source
+ done
for arch in $architectures; do
mkdir -p $d/${arch}
for f in $pdir/.htaccess \
for arch in $architectures; do
mkdir -p $d/${arch}
for f in $pdir/.htaccess \