diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-08-28 15:10:41 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-08-28 15:10:41 +0000 |
commit | 524f6d5e74cb463add8ab32e9e3ff4f8ccabe609 (patch) | |
tree | 2d284690886ca168bf78245d2ed93ab3b62ae1b2 /perl-install/standalone/finish-install | |
parent | 443bf8e673acc4d83fb3f710bc341fb0dcfe9513 (diff) | |
download | drakx-524f6d5e74cb463add8ab32e9e3ff4f8ccabe609.tar drakx-524f6d5e74cb463add8ab32e9e3ff4f8ccabe609.tar.gz drakx-524f6d5e74cb463add8ab32e9e3ff4f8ccabe609.tar.bz2 drakx-524f6d5e74cb463add8ab32e9e3ff4f8ccabe609.tar.xz drakx-524f6d5e74cb463add8ab32e9e3ff4f8ccabe609.zip |
- create any::urpmi_add_all_media() out of finish_install's ask_urpmi()
- make it installer compliant
Diffstat (limited to 'perl-install/standalone/finish-install')
-rwxr-xr-x | perl-install/standalone/finish-install | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/perl-install/standalone/finish-install b/perl-install/standalone/finish-install index bc54c552a..f2b8c058f 100755 --- a/perl-install/standalone/finish-install +++ b/perl-install/standalone/finish-install @@ -90,10 +90,8 @@ sub ask_network() { sub ask_urpmi() { #- configure urpmi media if network is up and no media are configured require network::tools; - return if !network::tools::has_network_connection(); run_program::get_stdout('urpmq', '--list-media') and return; - my $_wait = $in->wait_message(N("Please wait"), N("Please wait, adding media...")); - run_program::run('urpmi.addmedia', '--distrib', '--mirrorlist', '$MIRRORLIST'); + any::urpmi_add_all_media($in); } sub set_authentication { |