summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorFrans Pop <elendil@planet.nl>2008-12-02 16:51:56 +0000
committerFrans Pop <elendil@planet.nl>2008-12-02 16:51:56 +0000
commit11353a1db638cf8dbddf0e5d8338fb8ba421dbfe (patch)
treeec6479b7becc689e47978ca8b291799b0cb41620 /scripts
parent4055c8fecddf70914a17eb20a86568921edd8637 (diff)
downloadinstallation-guide-11353a1db638cf8dbddf0e5d8338fb8ba421dbfe.zip
Avoid a couple of lines that are not settings
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/check-preseed10
1 files changed, 7 insertions, 3 deletions
diff --git a/scripts/check-preseed b/scripts/check-preseed
index e3d646bed..188469cdd 100755
--- a/scripts/check-preseed
+++ b/scripts/check-preseed
@@ -8,18 +8,22 @@ filter_preseed() {
}
/^\"?#?d-i/ {
print
+ in_setting=1
next
}
/\\+[[:space:]]*(\\n\")?$/ {
- print
- in_seq=1
- next
+ if (in_setting) {
+ print
+ in_seq=1
+ next
+ }
}
/.*/ {
if (in_seq) {
print
in_seq=0
}
+ in_setting=0
}'
}