diff --git a/check.sh b/check.sh index 4e55dd6..f11a903 100755 --- a/check.sh +++ b/check.sh @@ -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 + dpkg-scansources "$workdir/repo" /dev/null ./ > "$workdir/repo/Sources" +fi if [ "$pkgtype" = binary ]; then tail -n 999999 "$workdir/repo/Packages" >&2