#!/bin/sh
if [ -z "$1" ] ; then
echo i386 ou amd64
else
Paquet=dists/etch/exp/binary-$1/Packages
echo -n $Paquet...
dpkg-scanpackages pool/etch/$1.exp override  | gzip > $Paquet.gz
zcat $Paquet.gz | bzip2 > $Paquet.bz2
echo fait
fi