check.sh: Only run dpkg-scansources if pkga is source
This commit is contained in:
parent
627c2f6598
commit
33d91a8c8d
1 changed files with 3 additions and 1 deletions
4
check.sh
4
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
|
||||
|
|
Loading…
Reference in a new issue