@ -253,7 +253,9 @@ END
fi
dpkg-scanpackages "$workdir/repo" /dev/null ./ > "$workdir/repo/Packages"
dpkg-scansources "$workdir/repo" /dev/null ./ > "$workdir/repo/Sources"
if [ "$pkgtype" != binary ]; then
if [ "$pkgtype" = binary ]; then
tail -n 999999 "$workdir/repo/Packages" >&2