diff options
author | Francois Pons <fpons@mandriva.com> | 2003-02-19 17:02:39 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2003-02-19 17:02:39 +0000 |
commit | b60694493568469869d1d8ef4279cdcf4cf5f4e1 (patch) | |
tree | 6a33af585422c472aa40ce40e8fd980dfd90d735 | |
parent | f3b4f1950cacb61e56b583a6b3dc2ccf9909220d (diff) | |
download | drakx-backup-do-not-use-b60694493568469869d1d8ef4279cdcf4cf5f4e1.tar drakx-backup-do-not-use-b60694493568469869d1d8ef4279cdcf4cf5f4e1.tar.gz drakx-backup-do-not-use-b60694493568469869d1d8ef4279cdcf4cf5f4e1.tar.bz2 drakx-backup-do-not-use-b60694493568469869d1d8ef4279cdcf4cf5f4e1.tar.xz drakx-backup-do-not-use-b60694493568469869d1d8ef4279cdcf4cf5f4e1.zip |
fixed if update fail to allow retry.
-rw-r--r-- | perl-install/install_steps_interactive.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm index 5fbbe1ebb..30860db13 100644 --- a/perl-install/install_steps_interactive.pm +++ b/perl-install/install_steps_interactive.pm @@ -764,7 +764,7 @@ Do you want to install the updates ?")), \@mirrors, $u->{mirror}); }; - return if $@; + return if $@ || !$u->{mirror}; eval { if ($u->{mirror}) { @@ -772,7 +772,7 @@ Do you want to install the updates ?")), $update_medium = crypto::getPackages($o->{prefix}, $o->{packages}, $u->{mirror}); } }; - } while $@; + } while $@ || !$update_medium; if ($update_medium) { if ($o->choosePackagesTree($o->{packages}, $update_medium)) { |