summaryrefslogtreecommitdiffstats
path: root/perl-install/bootloader.pm
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/bootloader.pm
parent7395d1f9002d50396c8afd0a14d1e7c2ffedfff9 (diff)
downloaddrakx-backup-do-not-use-bfe56df987e064d9ceeea2e7d5ea39e96f8767a8.tar
drakx-backup-do-not-use-bfe56df987e064d9ceeea2e7d5ea39e96f8767a8.tar.gz
drakx-backup-do-not-use-bfe56df987e064d9ceeea2e7d5ea39e96f8767a8.tar.bz2
drakx-backup-do-not-use-bfe56df987e064d9ceeea2e7d5ea39e96f8767a8.tar.xz
drakx-backup-do-not-use-bfe56df987e064d9ceeea2e7d5ea39e96f8767a8.zip
mapdrive should not bother same_entries()
Diffstat (limited to 'perl-install/bootloader.pm')
-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->{$_};