summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2002-01-18 11:05:58 +0000
committerFrancois Pons <fpons@mandriva.com>2002-01-18 11:05:58 +0000
commit7a85c904913cb385a82b335ef416e78e9308f02d (patch)
treebdbffc2fd12069d3b975bce26920f0d49b5c2242
parent6df006412429817e30b1d0ced64eb7a7e3a66abb (diff)
downloaddrakx-backup-do-not-use-7a85c904913cb385a82b335ef416e78e9308f02d.tar
drakx-backup-do-not-use-7a85c904913cb385a82b335ef416e78e9308f02d.tar.gz
drakx-backup-do-not-use-7a85c904913cb385a82b335ef416e78e9308f02d.tar.bz2
drakx-backup-do-not-use-7a85c904913cb385a82b335ef416e78e9308f02d.tar.xz
drakx-backup-do-not-use-7a85c904913cb385a82b335ef416e78e9308f02d.zip
even if user cancel update of package on tree, allow urpmi to install the medium.
-rw-r--r--perl-install/install_steps_interactive.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm
index 815ef098e..edff28877 100644
--- a/perl-install/install_steps_interactive.pm
+++ b/perl-install/install_steps_interactive.pm
@@ -926,12 +926,14 @@ Do you want to install the updates ?"))) || return;
if ($update_medium) {
if ($o->choosePackagesTree($o->{packages}, $update_medium)) {
$o->pkg_install;
- $o->install_urpmi;
} else {
#- make sure to not try to install the packages (which are automatically selected by getPackage above).
#- this is possible by deselecting the medium (which can be re-selected above).
delete $update_medium->{selected};
}
+ #- update urpmi even, because there is an hdlist available and everything is good,
+ #- this will allow user to update the medium but update his machine later.
+ $o->install_urpmi;
}
#- stop interface using ppp only. FIXME REALLY TOCHECK isdn (costly network) ?