#!/bin/bash

reposerver=danbo

releases="bookworm trixie"
architectures="ppc64el amd64"

for release in $releases; do
    for arch in $architectures; do
        dpkg-scanpackages -m -a $arch pool/${release}/callisto | gzip -c > dists/${release}/callisto/binary-${arch}/Packages.gz
    done
done

rsync -av ./ ${reposerver}:/srv/pkg/debian/
