diff options
author | Frans Pop <elendil@planet.nl> | 2008-12-02 16:51:56 +0000 |
---|---|---|
committer | Frans Pop <elendil@planet.nl> | 2008-12-02 16:51:56 +0000 |
commit | 11353a1db638cf8dbddf0e5d8338fb8ba421dbfe (patch) | |
tree | ec6479b7becc689e47978ca8b291799b0cb41620 /scripts/check-preseed | |
parent | 4055c8fecddf70914a17eb20a86568921edd8637 (diff) | |
download | installation-guide-11353a1db638cf8dbddf0e5d8338fb8ba421dbfe.zip |
Avoid a couple of lines that are not settings
Diffstat (limited to 'scripts/check-preseed')
-rwxr-xr-x | scripts/check-preseed | 10 |
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 }' } |