diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-03-06 15:52:58 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-03-06 15:52:58 +0000 |
commit | 79d497b0da8dcc903446179d153c3fc3c4f72db5 (patch) | |
tree | b2b9c945c08f7a9e51830133a81eddce8d017d82 /perl-install | |
parent | 5afd2e8d330936aec79cb5b53fc243ed143ba691 (diff) | |
download | drakx-backup-do-not-use-79d497b0da8dcc903446179d153c3fc3c4f72db5.tar drakx-backup-do-not-use-79d497b0da8dcc903446179d153c3fc3c4f72db5.tar.gz drakx-backup-do-not-use-79d497b0da8dcc903446179d153c3fc3c4f72db5.tar.bz2 drakx-backup-do-not-use-79d497b0da8dcc903446179d153c3fc3c4f72db5.tar.xz drakx-backup-do-not-use-79d497b0da8dcc903446179d153c3fc3c4f72db5.zip |
(add_append): don't add to entries of type 'other'
Diffstat (limited to 'perl-install')
-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 ea83ebbd7..60e048e7e 100644 --- a/perl-install/bootloader.pm +++ b/perl-install/bootloader.pm @@ -206,7 +206,7 @@ sub get_append { sub add_append { my ($b, $key, $val) = @_; - foreach (\$b->{perImageAppend}, map { \$_->{append} } @{$b->{entries}}) { + foreach (\$b->{perImageAppend}, map { \$_->{append} } grep { $_->{type} eq 'image' } @{$b->{entries}}) { my ($simple, $dict) = unpack_append($$_); @$dict = grep { $_->[0] ne $key || $key eq 'mem' && append__mem_is_memsize($_->[1]) != append__mem_is_memsize($val) } @$dict; push @$dict, [ $key, $val ] if $val; |