diff options
author | Pascal Rigaux <pixel@mandriva.com> | 1999-09-19 17:31:42 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 1999-09-19 17:31:42 +0000 |
commit | 25f65beed0677fa247c513705dbf538225f979c4 (patch) | |
tree | e0ec937937cba2d6279e97b3b7036fe0856d5bb2 /perl-install/install_any.pm | |
parent | a0b5f74447cc699c43c354cb6397ed554605729b (diff) | |
download | drakx-backup-do-not-use-25f65beed0677fa247c513705dbf538225f979c4.tar drakx-backup-do-not-use-25f65beed0677fa247c513705dbf538225f979c4.tar.gz drakx-backup-do-not-use-25f65beed0677fa247c513705dbf538225f979c4.tar.bz2 drakx-backup-do-not-use-25f65beed0677fa247c513705dbf538225f979c4.tar.xz drakx-backup-do-not-use-25f65beed0677fa247c513705dbf538225f979c4.zip |
no_comment
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r-- | perl-install/install_any.pm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm index e8008bd82..d8e5a48f8 100644 --- a/perl-install/install_any.pm +++ b/perl-install/install_any.pm @@ -26,7 +26,7 @@ use log; #-###################################################################################### sub relGetFile($) { local $_ = $_[0]; - my $dir = m|/| ? "mdkinst" : + my $dir = m|/| ? "mdkinst" : (member($_, qw(compss compssList depslist hdlist)) ? "base" : "RPMS"); $_ = "Mandrake/$dir/$_"; s/i386/i586/; @@ -117,19 +117,19 @@ sub setPackages($$) { $o->{packages} = pkgs::psUsingDirectory() if !$useHdlist || $@; pkgs::getDeps($o->{packages}); - + $o->{compss} = pkgs::readCompss($o->{packages}); $o->{compssListLevels} = pkgs::readCompssList($o->{packages}); $o->{compssListLevels} ||= $install_classes; push @{$o->{base}}, "kernel-smp" if detect_devices::hasSMP(); push @{$o->{base}}, "kernel-pcmcia-cs" if $o->{pcmcia}; } - + do { my $p = $o->{packages}{$_} or log::l("missing base package $_"), next; pkgs::select($o->{packages}, $p, 1); } foreach @{$o->{base}}; - + pkgs::setShowFromCompss($o->{compss}, $o->{installClass}, $o->{lang}); pkgs::setSelectedFromCompssList($o->{compssListLevels}, $o->{packages}, getAvailableSpace($o) * 0.7, $o->{installClass}, $o->{lang}); } |