summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-03-06 20:26:43 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-03-06 20:26:43 +0000
commit4393846e9e365f2a32a9890a540b7a76251ff801 (patch)
tree50e82bf9a443b93b020bed089bad848570d0d34c /perl-install
parent8c600a7d3ab0b1c7ede475d4d4c08f9edf43c818 (diff)
downloaddrakx-4393846e9e365f2a32a9890a540b7a76251ff801.tar
drakx-4393846e9e365f2a32a9890a540b7a76251ff801.tar.gz
drakx-4393846e9e365f2a32a9890a540b7a76251ff801.tar.bz2
drakx-4393846e9e365f2a32a9890a540b7a76251ff801.tar.xz
drakx-4393846e9e365f2a32a9890a540b7a76251ff801.zip
cleanup
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install_any.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 66f10144c..2390ffa79 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -962,7 +962,7 @@ sub use_root_part {
my $handle = any::inspect($part, $prefix) or die;
fs::get_info_from_fstab($all_hds, $handle->{dir}, 'uniq');
}
- map { $_->{mntpoint} = 'swap' } grep { isSwap($_) } fsedit::get_really_all_fstab($all_hds); #- use all available swap.
+ isSwap($_) and $_->{mntpoint} = 'swap' foreach fsedit::get_really_all_fstab($all_hds); #- use all available swap.
}
sub getHds {