summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/install/steps.pm15
1 files changed, 2 insertions, 13 deletions
diff --git a/perl-install/install/steps.pm b/perl-install/install/steps.pm
index 92bf5368d..e998f648e 100644
--- a/perl-install/install/steps.pm
+++ b/perl-install/install/steps.pm
@@ -560,19 +560,8 @@ EOF
sub install_urpmi {
my ($o) = @_;
-
- my $pkg = install::pkgs::packageByName($o->{packages}, 'urpmi');
- if ($pkg && ($pkg->flag_selected || $pkg->flag_installed)
- #- this is a workaround. if many urpmi packages are found in the
- #- provides of all media, packages_providing() might return the wrong
- #- one. This probably needs to be fixed in URPM
- || run_program::rooted_get_stdout($::prefix, '/bin/rpm', '-q', 'urpmi') =~ /urpmi/
- ) {
- install::media::install_urpmi($o->{method}, $o->{packages});
- install::pkgs::saveCompssUsers($o->{packages}, $o->{compssUsers});
- } else {
- log::l("skipping install_urpmi, urpmi not installed");
- }
+ install::media::install_urpmi($o->{method}, $o->{packages});
+ install::pkgs::saveCompssUsers($o->{packages}, $o->{compssUsers});
}
sub install_hardware_packages {