summaryrefslogtreecommitdiffstats
path: root/gurpmi2
diff options
context:
space:
mode:
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},