Fix up buggy parsing of Packages files introduced in a55bc64a77

This commit is contained in:
Steve McIntyre 2016-12-09 01:14:41 +00:00
parent ae59c4e92b
commit 8fe8b9975b
1 changed files with 2 additions and 2 deletions

View File

@ -239,11 +239,11 @@ $(ADIR)/status:
else \
$(catz) $(MIRROR)/dists/$(CODENAME)/main/binary-$$ARCH/Packages.*z* | \
perl -000 -ne 's/^(Package: .*)$$/$$1\nStatus: install ok installed/m; print if (/^Priority: (required|important|standard)/m or /^Section: base/m);' \
|sort | uniq >> $(ADIR)/$(CODENAME)-$$ARCH/status ; \
>> $(ADIR)/$(CODENAME)-$$ARCH/status ; \
if [ "$$BACKPORTS"x != ""x ] ; then \
$(catz) $(MIRROR)/dists/$(CODENAME)/main/binary-$$ARCH/Packages.*z* | \
perl -000 -ne 's/^(Package: .*)$$/$$1\nStatus: install ok installed/m; print if (/^Priority: (required|important|standard)/m or /^Section: base/m);' \
|sort | uniq >> $(ADIR)/$(CODENAME)-backports-$$ARCH/status ; \
>> $(ADIR)/$(CODENAME)-backports-$$ARCH/status ; \
fi; \
fi; \
done;