From 33d91a8c8d24d1e910753448ca1e7b5db91ef181 Mon Sep 17 00:00:00 2001 From: Johannes 'josch' Schauer Date: Tue, 16 Aug 2016 10:13:04 +0200 Subject: [PATCH] check.sh: Only run dpkg-scansources if pkga is source --- check.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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