summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xurpmi.addmedia3
-rw-r--r--urpmi.spec5
2 files changed, 5 insertions, 3 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}) {
diff --git a/urpmi.spec b/urpmi.spec
index ae7117d9..a627f500 100644
--- a/urpmi.spec
+++ b/urpmi.spec
@@ -2,7 +2,7 @@
Name: urpmi
Version: 3.3
-Release: 20mdk
+Release: 21mdk
License: GPL
Source0: %{name}.tar.bz2
Source1: %{name}.logrotate
@@ -144,6 +144,9 @@ fi
%changelog
+* Thu Mar 7 2002 François Pons <fpons@mandrakesoft.com> 3.3-21mdk
+- fix --wget and --curl for urpmi.addmedia.
+
* Thu Mar 7 2002 François Pons <fpons@mandrakesoft.com> 3.3-20mdk
- fixed when console has been closed and urpmi ask for changing
medium (currently it open/eject the device).