diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-08-28 15:30:46 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-08-28 15:30:46 +0000 |
commit | 4c17ae5cc3872a6638b4e22d1bf0f12f50972547 (patch) | |
tree | 4e5262600726f3253ebb589db48deab9a40cd580 /perl-install/standalone/finish-install | |
parent | 524f6d5e74cb463add8ab32e9e3ff4f8ccabe609 (diff) | |
download | drakx-backup-do-not-use-4c17ae5cc3872a6638b4e22d1bf0f12f50972547.tar drakx-backup-do-not-use-4c17ae5cc3872a6638b4e22d1bf0f12f50972547.tar.gz drakx-backup-do-not-use-4c17ae5cc3872a6638b4e22d1bf0f12f50972547.tar.bz2 drakx-backup-do-not-use-4c17ae5cc3872a6638b4e22d1bf0f12f50972547.tar.xz drakx-backup-do-not-use-4c17ae5cc3872a6638b4e22d1bf0f12f50972547.zip |
fix previous commit:
- move the "require" where it's needed
- split the comment so that it correctly describes things
Diffstat (limited to 'perl-install/standalone/finish-install')
-rwxr-xr-x | perl-install/standalone/finish-install | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/standalone/finish-install b/perl-install/standalone/finish-install index f2b8c058f..662bcc60d 100755 --- a/perl-install/standalone/finish-install +++ b/perl-install/standalone/finish-install @@ -88,8 +88,7 @@ sub ask_network() { } sub ask_urpmi() { - #- configure urpmi media if network is up and no media are configured - require network::tools; + #- configure urpmi media if no media are configured run_program::get_stdout('urpmq', '--list-media') and return; any::urpmi_add_all_media($in); } |