summaryrefslogtreecommitdiffstats
path: root/urpmi.addmedia
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2002-03-07 15:16:12 +0000
committerFrancois Pons <fpons@mandriva.com>2002-03-07 15:16:12 +0000
commitfcb849559e7a0f41e109c05cd499963435378eaa (patch)
treeba263047ba79430d39612bfc4035daeb867ebca3 /urpmi.addmedia
parentb33e772cd8d0ec0b391321c143614530b3205b31 (diff)
downloadurpmi-fcb849559e7a0f41e109c05cd499963435378eaa.tar
urpmi-fcb849559e7a0f41e109c05cd499963435378eaa.tar.gz
urpmi-fcb849559e7a0f41e109c05cd499963435378eaa.tar.bz2
urpmi-fcb849559e7a0f41e109c05cd499963435378eaa.tar.xz
urpmi-fcb849559e7a0f41e109c05cd499963435378eaa.zip
3.3-21mdk
Diffstat (limited to 'urpmi.addmedia')
-rwxr-xr-xurpmi.addmedia3
1 files changed, 1 insertions, 2 deletions
diff --git a/urpmi.addmedia b/urpmi.addmedia
index ead4b13a..74c0019e 100755
--- a/urpmi.addmedia
+++ b/urpmi.addmedia
@@ -46,6 +46,7 @@ and [options] are from
$options{force} = 0;
$options{noclean} = 1;
+ my $urpm = new urpm;
while ($_ = shift @_) {
/^--?c/ and $options{noclean} = 0, next;
/^--?h/ and $options{probe_with_hdlist} = 1, next;
@@ -62,8 +63,6 @@ and [options] are from
$url or ($url, $name) = ($name, '');
my ($type) = $url =~ m,^([^:]*)://, or die $usage;
- my $urpm = new urpm;
-
$urpm->read_config;
if ($options{distrib}) {