summaryrefslogtreecommitdiffstats
path: root/perl-install/fs/format.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/fs/format.pm')
-rw-r--r--perl-install/fs/format.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/perl-install/fs/format.pm b/perl-install/fs/format.pm
index 3b04bba56..bbeeed2f0 100644
--- a/perl-install/fs/format.pm
+++ b/perl-install/fs/format.pm
@@ -26,6 +26,11 @@ sub package_needed_for_partition_type {
$l->[0];
}
+sub known_type {
+ my ($part) = @_;
+ to_bool($cmds{$part->{fs_type}});
+}
+
sub check_package_is_installed {
my ($do_pkgs, $fs_type) = @_;