Re: anonftpsync update
Hello Franco,
My apologies for taking so much time to answer you.
On Mon, Mar 19, 2007 at 10:01:36PM +0100, Franco Vecchiato wrote:
> I made two little modifications to the official anonftpsync script.
> [..]
> for ARCH in $ARCH_EXCLUDE; do
> EXCLUDE=$EXCLUDE"\
> --exclude binary-$ARCH/ \
> --exclude disks-$ARCH/ \
> --exclude installer-$ARCH/ \
> --exclude Contents-$ARCH.gz \
> --exclude Contents-$ARCH.diff/ \
> + --exclude arch-$ARCH.files \
> + --exclude arch-$ARCH.list.gz \
> --exclude *_$ARCH.deb \
> --exclude *_$ARCH.udeb "
> if [ "$ARCH" == "source" ]; then
> + EXCLUDE=$EXCLUDE"\
> + --exclude source/ "
> SOURCE_EXCLUDE="\
> --exclude *.tar.gz \
> --exclude *.diff.gz \
> --exclude *.dsc "
> [..]
> I added --exclude arch-$ARCH.files and --exclude arch-$ARCH.list.gz to
> exclude the corresponding files inside "debian/indices", and the two
> lines into the if condition so that the "source" directories inside
> debian/dists/release/section directories are not created.
Thanks for the patch, it has been commited in the CVS and will appear
soon on the website.
> Feel free to add it to the mirror site if you think so; tell me if you
> have remarks on it.
I kept --exclude source/ in the SOURCE_EXCLUDE variable, since this
exclusion doesn't have any $ARCH component.
Best regards,
--
Simon Paillard
Reply to: