[PATCH 3/4] Anchor package name regular expression
Otherwise the "Package: foo" will also de-select "Package: foo-bar".
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index a4aef05..70b1a41 100755
--- a/Makefile
+++ b/Makefile
@@ -280,7 +280,7 @@ correctstatus: status apt-update
export ARCH=$$ARCH; \
for i in `$(apt) deselected -f install`; do \
echo $$ARCH:$$i; \
- perl -i -000 -ne "print unless /^Package: \Q$$i\E/m" \
+ perl -i -000 -ne "print unless /^Package: \Q$$i\E\$$/m" \
$(ADIR)/$(CODENAME)-$$ARCH/status; \
done; \
done; \
--
2.1.4
Reply to: