summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2002-02-13 17:20:26 +0000
committerFrancois Pons <fpons@mandriva.com>2002-02-13 17:20:26 +0000
commit6a632e02e83fb944878ba955318f54deb2e2d56c (patch)
tree52dae91307b28d741360905bd52117f5f4b06f87 /perl-install
parent95d06da05c742f8089a7d297df8e606171b4d419 (diff)
downloaddrakx-backup-do-not-use-6a632e02e83fb944878ba955318f54deb2e2d56c.tar
drakx-backup-do-not-use-6a632e02e83fb944878ba955318f54deb2e2d56c.tar.gz
drakx-backup-do-not-use-6a632e02e83fb944878ba955318f54deb2e2d56c.tar.bz2
drakx-backup-do-not-use-6a632e02e83fb944878ba955318f54deb2e2d56c.tar.xz
drakx-backup-do-not-use-6a632e02e83fb944878ba955318f54deb2e2d56c.zip
fixed stupid typo.
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install_any.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 625e5e33d..7fafa1819 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -41,7 +41,8 @@ my $cdrom = undef;
sub useMedium($) {
#- before ejecting the first CD, there are some files to copy!
#- does nothing if the function has already been called.
- $_[0] > 1 and $::o->{method} eq 'cdrom' and setup_postinstall_rpms($::o->{prefix}, $::o->{packages});
+ #$_[0] > 1 and $::o->{method} eq 'cdrom' and setup_postinstall_rpms($::o->{prefix}, $::o->{packages});
+ $_[0] > 1 and setup_postinstall_rpms($::o->{prefix}, $::o->{packages});
$asked_medium eq $_[0] or log::l("selecting new medium '$_[0]'");
$asked_medium = $_[0];
@@ -160,7 +161,7 @@ sub setup_postinstall_rpms($$) {
my %toCopy;
#- compute closure of package that may be copied, use INSTALL category
#- in rpmsrate.
- pkgs::setSelectedFromCompssList($packages, { INSTALL => 1 }, 0, 0, %toCopy);
+ pkgs::setSelectedFromCompssList($packages, { INSTALL => 1 }, 0, 0, \%toCopy);
my @toCopy = grep { $_ && pkgs::packageFlagSelected($_) == 0 } map { pkgs::packageByName($packages, $_) } keys %toCopy;