summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-01-16 15:07:34 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-01-16 15:07:34 +0000
commitbfe56df987e064d9ceeea2e7d5ea39e96f8767a8 (patch)
treefd6513afd776189d9648f256946c6218620588f5 /perl-install
parent7395d1f9002d50396c8afd0a14d1e7c2ffedfff9 (diff)
downloaddrakx-bfe56df987e064d9ceeea2e7d5ea39e96f8767a8.tar
drakx-bfe56df987e064d9ceeea2e7d5ea39e96f8767a8.tar.gz
drakx-bfe56df987e064d9ceeea2e7d5ea39e96f8767a8.tar.bz2
drakx-bfe56df987e064d9ceeea2e7d5ea39e96f8767a8.tar.xz
drakx-bfe56df987e064d9ceeea2e7d5ea39e96f8767a8.zip
mapdrive should not bother same_entries()
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/bootloader.pm4
1 files changed, 1 insertions, 3 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm
index a8265f61d..866c71443 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -355,9 +355,7 @@ sub same_entries {
my ($a, $b) = @_;
foreach (uniq(keys %$a, keys %$b)) {
- if ($_ eq 'label') {
- next;
- } elsif ($_ eq 'append') {
+ if (member($_, 'label', 'append', 'mapdrive') {
next;
} else {
next if $a->{$_} eq $b->{$_};