summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorGwenolé Beauchesne <gbeauchesne@mandriva.org>2003-11-04 11:50:07 +0000
committerGwenolé Beauchesne <gbeauchesne@mandriva.org>2003-11-04 11:50:07 +0000
commit0d396218a44ac08b80d8d21c8c1d44595f49cb62 (patch)
treed68d07899307217ece2dc580f48d0a9871b0d1d6 /perl-install
parent2afc586cf886824da303805367c111c7578f0a44 (diff)
downloaddrakx-backup-do-not-use-0d396218a44ac08b80d8d21c8c1d44595f49cb62.tar
drakx-backup-do-not-use-0d396218a44ac08b80d8d21c8c1d44595f49cb62.tar.gz
drakx-backup-do-not-use-0d396218a44ac08b80d8d21c8c1d44595f49cb62.tar.bz2
drakx-backup-do-not-use-0d396218a44ac08b80d8d21c8c1d44595f49cb62.tar.xz
drakx-backup-do-not-use-0d396218a44ac08b80d8d21c8c1d44595f49cb62.zip
Merge from HEAD: allow setting hdclun=0
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/bootloader.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm
index d790bf480..c9f4dc903 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -371,7 +371,7 @@ sub set_append {
my ($simple, $dict) = @_;
if ($has_val) {
@$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;
+ push @$dict, [ $key, $val ] if $val ne '';
} else {
@$simple = grep { $_ ne $key } @$simple;
push @$simple, $key;