diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2006-11-21 17:43:37 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2006-11-21 17:43:37 +0000 |
commit | 871705259637a1b980f74fe118c5a23a0674b283 (patch) | |
tree | a7f98f5f3ff8d6036e631b75dfd68a5d032d3d71 /urpm/bug_report.pm | |
parent | 30844e6755db13ce18727cc4e7fd113f744e99c0 (diff) | |
download | urpmi-871705259637a1b980f74fe118c5a23a0674b283.tar urpmi-871705259637a1b980f74fe118c5a23a0674b283.tar.gz urpmi-871705259637a1b980f74fe118c5a23a0674b283.tar.bz2 urpmi-871705259637a1b980f74fe118c5a23a0674b283.tar.xz urpmi-871705259637a1b980f74fe118c5a23a0674b283.zip |
move many functions from urpm.pm to urpm/media.pm
Diffstat (limited to 'urpm/bug_report.pm')
-rw-r--r-- | urpm/bug_report.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/urpm/bug_report.pm b/urpm/bug_report.pm index e9666d13..eb1258a4 100644 --- a/urpm/bug_report.pm +++ b/urpm/bug_report.pm @@ -32,14 +32,14 @@ sub write_urpmdb { #- take care of virtual medium this way. $_->{hdlist} ||= "hdlist.$_->{name}.cz"; #- now build directly synthesis file, this is by far the simplest method. - if (urpm::is_valid_medium($_)) { + if (urpm::media::is_valid_medium($_)) { $urpm->build_synthesis(start => $_->{start}, end => $_->{end}, synthesis => "$bug_report_dir/synthesis.$_->{hdlist}"); $urpm->{log}(N("built hdlist synthesis file for medium \"%s\"", $_->{name})); } } #- fake configuration written to convert virtual media on the fly. local $urpm->{config} = "$bug_report_dir/urpmi.cfg"; - $urpm->write_config; + urpm::media::write_config($urpm); } sub copy_requested { |