diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-08-02 08:01:14 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-08-02 08:01:14 +0000 |
commit | 137cba98aa58448cc48aac6ab5d7179d048cbcf0 (patch) | |
tree | 8d6bf773742bad9c63d5d7790077f56e2b92e2b2 /perl-install/fsedit.pm | |
parent | aeb208e3f9deeb5f8cb8c5a112510dcdf05900fc (diff) | |
download | drakx-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/fsedit.pm')
-rw-r--r-- | perl-install/fsedit.pm | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm index b4eeda85e..39797a773 100644 --- a/perl-install/fsedit.pm +++ b/perl-install/fsedit.pm @@ -523,16 +523,6 @@ sub check_fs_type { $fs_type eq "reiserfs" && $part->{size} < 32 << 11 and die N("You can't use ReiserFS for partitions smaller than 32MB"); } -sub package_needed_for_partition_type { - my ($part) = @_; - my %l = ( - reiserfs => 'reiserfsprogs', - xfs => 'xfsprogs', - jfs => 'jfsprogs', - ); - $l{$part->{fs_type}}; -} - #- you can do this before modifying $part->{mntpoint} #- so $part->{mntpoint} should not be used here, use $mntpoint instead sub check_mntpoint { |