summaryrefslogtreecommitdiffstats
path: root/urpme
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2006-11-21 17:43:37 +0000
committerPascal Rigaux <pixel@mandriva.com>2006-11-21 17:43:37 +0000
commit871705259637a1b980f74fe118c5a23a0674b283 (patch)
treea7f98f5f3ff8d6036e631b75dfd68a5d032d3d71 /urpme
parent30844e6755db13ce18727cc4e7fd113f744e99c0 (diff)
downloadurpmi-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 'urpme')
-rw-r--r--urpme3
1 files changed, 2 insertions, 1 deletions
diff --git a/urpme b/urpme
index 6cd94f03..9658f2a4 100644
--- a/urpme
+++ b/urpme
@@ -24,6 +24,7 @@ use urpm;
use urpm::args;
use urpm::msg;
use urpm::install;
+use urpm::media;
$ENV{PATH} = "/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin";
delete @ENV{qw(ENV BASH_ENV IFS CDPATH)};
@@ -79,7 +80,7 @@ unless ($test) {
}
#- just configure parallel mode if available.
-$urpm->configure(
+urpm::media::configure($urpm,
synthesis => ($parallel ? 'none' : ''),
root => $root,
parallel => $parallel,