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/gutsy ubuntu/hardy ubuntu/intrepid ubuntu/jaunty ubuntu/karmic ubuntu/lucid debian/squeeze debian/lenny debian/etch; do
dist=`basename $vdist`
vendor=`dirname $vdist`
ftpdir=/home/ftp/pub/$vendor
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 \