#!/bin/bash
dpkg-scanpackages --arch amd64 pool/ > dists/stable/main/binary-amd64/Packages
dpkg-scanpackages --arch i386 pool/ > dists/stable/main/binary-i386/Packages
cat dists/stable/main/binary-amd64/Packages | gzip -9 > dists/stable/main/binary-amd64/Packages.gz
cat dists/stable/main/binary-i386/Packages | gzip -9 > dists/stable/main/binary-i386/Packages.gz
