summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/install_any.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 728eed44e..e6a2e36fa 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -388,7 +388,7 @@ sub setPackages {
my $cdrom;
($o->{packages}, my $suppl_method) = pkgs::psUsingHdlists($o, $o->{method});
- 1 while $suppl_method = $o->selectSupplMedia($suppl_method);
+ $suppl_method = $o->selectSupplMedia($suppl_method);
#- open rpm db according to right mode needed.
$o->{packages}{rpmdb} ||= pkgs::rpmDbOpen($o->{prefix}, $rebuild_needed);