diff options
-rw-r--r-- | perl-install/modules.pm | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/perl-install/modules.pm b/perl-install/modules.pm index 1d801ff3f..76f219eb7 100644 --- a/perl-install/modules.pm +++ b/perl-install/modules.pm @@ -183,6 +183,9 @@ sub set_options { log::l(qq(set option "$new_option" for module "$name")); $conf{$name}{options} = $new_option; } +sub get_parameters { + map { if_(/(.*)=(.*)/, $1 => $2) } split(' ', get_options($_[0])); +} sub set_alias { my ($alias, $module) = @_; $module =~ /ignore/ and return; @@ -423,6 +426,9 @@ sub when_load_category { } } +#-############################################################################### +#- isInstall functions +#-############################################################################### sub cz_file() { "/lib/modules" . (arch() eq 'sparc64' && "64") . ".cz-" . c::kernel_version(); } @@ -469,9 +475,4 @@ sub load_raw { } -sub get_parameters { - map { if_(/(.*)=(.*)/, $1 => $2) } split(' ', get_options($_[0])); -} - - 1; |