summaryrefslogtreecommitdiffstats
path: root/gurpmi2
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2006-03-03 17:32:55 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2006-03-03 17:32:55 +0000
commite57338e203aa54d4f2dbab901783c755f97dc5c9 (patch)
tree416f19d5a21a80294abd778a5e93005127f8b075 /gurpmi2
parent2433828fdc1046ec853b633a41edc5afa03894a7 (diff)
downloadurpmi-e57338e203aa54d4f2dbab901783c755f97dc5c9.tar
urpmi-e57338e203aa54d4f2dbab901783c755f97dc5c9.tar.gz
urpmi-e57338e203aa54d4f2dbab901783c755f97dc5c9.tar.bz2
urpmi-e57338e203aa54d4f2dbab901783c755f97dc5c9.tar.xz
urpmi-e57338e203aa54d4f2dbab901783c755f97dc5c9.zip
Add --media and --searchmedia options to gurpmi
Diffstat (limited to 'gurpmi2')
-rwxr-xr-xgurpmi25
1 files changed, 4 insertions, 1 deletions
diff --git a/gurpmi2 b/gurpmi2
index 4177179a..c5d91a42 100755
--- a/gurpmi2
+++ b/gurpmi2
@@ -101,7 +101,10 @@ sub configure_urpm {
};
$urpm->exlock_rpm_db;
$urpm->shlock_urpmi_db;
- $urpm->configure;
+ $urpm->configure(
+ media => $gurpmi::options{media},
+ searchmedia => $gurpmi::options{searchmedia},
+ );
$urpm->{options}{'verify-rpm'} = 0 if $gurpmi::options{'no-verify-rpm'};
#- default options values
exists $urpm->{options}{$_} or $urpm->{options}{$_} = 1 foreach qw(post-clean verify-rpm split-length);