summaryrefslogtreecommitdiffstats
path: root/gurpmi2
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 /gurpmi2
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 'gurpmi2')
-rwxr-xr-xgurpmi23
1 files changed, 2 insertions, 1 deletions
diff --git a/gurpmi2 b/gurpmi2
index 44cfcd25..0fe865b1 100755
--- a/gurpmi2
+++ b/gurpmi2
@@ -13,6 +13,7 @@ BEGIN { #- set up a safe path and environment
use gurpmi;
use urpm::install;
+use urpm::media;
use Gtk2;
#- GUI globals
@@ -117,7 +118,7 @@ sub configure_urpm() {
};
urpm::sys::lock_rpm_db($urpm, 'exclusive');
urpm::sys::lock_urpmi_db($urpm);
- $urpm->configure(
+ urpm::media::configure($urpm,
root => $gurpmi::options{root},
media => $gurpmi::options{media},
searchmedia => $gurpmi::options{searchmedia},