summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>1999-10-01 15:57:39 +0000
committerFrancois Pons <fpons@mandriva.com>1999-10-01 15:57:39 +0000
commit3cf33eab50fd8e7eb927c617986f62938e0485a1 (patch)
tree9f585993cd1b4d0cace49969a118ea56227044f9 /perl-install/install_any.pm
parent4d03533983eda1325e04122a4dc478d892862471 (diff)
downloaddrakx-backup-do-not-use-3cf33eab50fd8e7eb927c617986f62938e0485a1.tar
drakx-backup-do-not-use-3cf33eab50fd8e7eb927c617986f62938e0485a1.tar.gz
drakx-backup-do-not-use-3cf33eab50fd8e7eb927c617986f62938e0485a1.tar.bz2
drakx-backup-do-not-use-3cf33eab50fd8e7eb927c617986f62938e0485a1.tar.xz
drakx-backup-do-not-use-3cf33eab50fd8e7eb927c617986f62938e0485a1.zip
*** empty log message ***
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r--perl-install/install_any.pm16
1 files changed, 12 insertions, 4 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 834c58a73..4bb4e9bc4 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -124,15 +124,23 @@ sub setPackages($$) {
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}};
+ unless ($o->{isUpgrade}) {
+ 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});
($o->{packages_}{ind}, $o->{packages_}{select_level}) = pkgs::setSelectedFromCompssList($o->{compssListLevels}, $o->{packages}, getAvailableSpace($o) * 0.7, $o->{installClass}, $o->{lang});
}
+sub findPackagesToUpgrade($) {
+ my ($o) = @_;
+
+ pkgs::findPackagesToUpgrade($o->{packages}, $o->{prefix});
+}
+
sub addToBeDone(&$) {
my ($f, $step) = @_;