diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-08-29 12:21:34 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-08-29 12:21:34 +0000 |
commit | f53f1603770f596bb86ed527cde25a305a28f090 (patch) | |
tree | 74d9b0a4fbc4276c437151611779ba0c69af69d0 /perl-install/any.pm | |
parent | c40c72a0852a0a2b7f993fbff89d205040ae83f7 (diff) | |
download | drakx-f53f1603770f596bb86ed527cde25a305a28f090.tar drakx-f53f1603770f596bb86ed527cde25a305a28f090.tar.gz drakx-f53f1603770f596bb86ed527cde25a305a28f090.tar.bz2 drakx-f53f1603770f596bb86ed527cde25a305a28f090.tar.xz drakx-f53f1603770f596bb86ed527cde25a305a28f090.zip |
revert previous commit: using "urpmi.addmedia --updates ..." is not useful
(i thought it could be for network installs from home-made mirrors, but then
home-made mirrors should contain updates too)
Diffstat (limited to 'perl-install/any.pm')
-rw-r--r-- | perl-install/any.pm | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm index 0fde2512c..1645ed201 100644 --- a/perl-install/any.pm +++ b/perl-install/any.pm @@ -838,15 +838,13 @@ sub sessions_with_order() { } sub urpmi_add_all_media { - my ($in, $b_update) = @_; + my ($in) = @_; #- configure urpmi media if network is up require network::tools; return if !network::tools::has_network_connection(); my $_wait = $in->wait_message(N("Please wait"), N("Please wait, adding media...")); - run_program::rooted($::prefix, 'urpmi.addmedia', - if_($b_update, '--update'), - '--distrib', '--mirrorlist', '$MIRRORLIST'); + run_program::rooted($::prefix, 'urpmi.addmedia', '--distrib', '--mirrorlist', '$MIRRORLIST'); } sub autologin { |