#!/bin/sh
#RRDIR=/var/www/html/debian
RRDIR=/home/ftp/pub/debian/local

APRIVDIR=/home/andreas/debian-maintain/local/andreas-privat/build-area/
FONTDIR=/home/andreas/debian-maintain/repack/font-franklin-gothic-book/build-area
PIXUM=/home/andreas/debian-maintain/local/pixum
FGALLERY="/home/andreas/debian-maintain/repack/fgallery/libjson-xs-perl /home/andreas/debian-maintain/repack/fgallery/guus"

DEBDIRS="$APRIVDIR \
         $FONTDIR \
         $PIXUM \
         $FGALLERY"

cd $RRDIR

for ddir in $DEBDIRS ; do
  for dsc in ${ddir}/*.dsc ; do
    reprepro includedsc local $dsc
  done
  for changes in ${ddir}/*amd64.changes ; do
    reprepro --ignore=wrongdistribution include local $changes
  done
done
