diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-09-04 12:44:59 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-09-04 12:44:59 +0000 |
commit | a8d9723bcb77c8009fc02c4d4174bbbd552a3c4a (patch) | |
tree | 6dd18803232ef7a214d9da11d5bcf7d524afd064 /perl-install/bootloader.pm | |
parent | e16b7ef775ee738edbb5dc9c674273789c2d49dd (diff) | |
download | drakx-a8d9723bcb77c8009fc02c4d4174bbbd552a3c4a.tar drakx-a8d9723bcb77c8009fc02c4d4174bbbd552a3c4a.tar.gz drakx-a8d9723bcb77c8009fc02c4d4174bbbd552a3c4a.tar.bz2 drakx-a8d9723bcb77c8009fc02c4d4174bbbd552a3c4a.tar.xz drakx-a8d9723bcb77c8009fc02c4d4174bbbd552a3c4a.zip |
modify_append: do not modify entries which are marked {keep_verbatim} since
they will be written verbatim anyway
Diffstat (limited to 'perl-install/bootloader.pm')
-rw-r--r-- | perl-install/bootloader.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm index ade21a222..49a68ffa5 100644 --- a/perl-install/bootloader.pm +++ b/perl-install/bootloader.pm @@ -755,7 +755,7 @@ sub pack_append { sub modify_append { my ($b, $f) = @_; - my @l = grep { $_->{type} eq 'image' && !($::isStandalone && $_->{label} eq 'failsafe') } @{$b->{entries}}; + my @l = grep { $_->{type} eq 'image' && !$_->{keep_verbatim} && !($::isStandalone && $_->{label} eq 'failsafe') } @{$b->{entries}}; foreach (\$b->{perImageAppend}, map { \$_->{append} } @l) { my ($simple, $dict) = unpack_append($$_); |