summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-08-02 08:01:14 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-08-02 08:01:14 +0000
commit137cba98aa58448cc48aac6ab5d7179d048cbcf0 (patch)
tree8d6bf773742bad9c63d5d7790077f56e2b92e2b2 /perl-install/install_any.pm
parentaeb208e3f9deeb5f8cb8c5a112510dcdf05900fc (diff)
downloaddrakx-137cba98aa58448cc48aac6ab5d7179d048cbcf0.tar
drakx-137cba98aa58448cc48aac6ab5d7179d048cbcf0.tar.gz
drakx-137cba98aa58448cc48aac6ab5d7179d048cbcf0.tar.bz2
drakx-137cba98aa58448cc48aac6ab5d7179d048cbcf0.tar.xz
drakx-137cba98aa58448cc48aac6ab5d7179d048cbcf0.zip
- move package_needed_for_partition_type() from fsedit to fs::format
- create check_package_is_installed() in fs::format and use it
Diffstat (limited to 'perl-install/install_any.pm')
-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 49dd76a57..5c30dcf40 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -477,7 +477,7 @@ sub setDefaultPackages {
push @{$o->{default_packages}}, "lvm2" if !is_empty_array_ref($o->{all_hds}{lvms});
push @{$o->{default_packages}}, "alsa", "alsa-utils" if any { $o->{modules_conf}->get_alias("sound-slot-$_") =~ /^snd-/ } 0 .. 4;
push @{$o->{default_packages}}, "grub" if isLoopback(fsedit::get_root($o->{fstab}));
- push @{$o->{default_packages}}, uniq(grep { $_ } map { fsedit::package_needed_for_partition_type($_) } @{$o->{fstab}});
+ push @{$o->{default_packages}}, uniq(grep { $_ } map { fs::format::package_needed_for_partition_type($_) } @{$o->{fstab}});
#- if no cleaning needed, populate by default, clean is used for second or more call to this function.
unless ($b_clean) {