Fix up buggy parsing of Packages files introduced in a55bc64a77
This commit is contained in:
parent
ae59c4e92b
commit
8fe8b9975b
4
Makefile
4
Makefile
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue