Kaydet (Commit) 420538a1 authored tarafından Vladimir Glazunov's avatar Vladimir Glazunov

#i107041# Error when active modules are not in the active repositories

üst d8aa5dfa
......@@ -205,6 +205,11 @@ sub get_module_paths {
croak("Cannot read $_ repository content");
};
};
my @false_actives = ();
foreach (keys %{$self->{ACTIVATED_MODULES}}) {
push(@false_actives, $_) if (!defined ${$self->{MODULE_PATHS}}{$_});
};
croak("Error!! Activated module(s): @false_actives\nnot found in the active repositories!! Please check your " . $self->{SOURCE_CONFIG_FILE} . "\n") if (scalar @false_actives);
croak("No modules found!") if (!scalar keys %{$self->{MODULE_PATHS}});
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment