summaryrefslogtreecommitdiffstats
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
parentb33e772cd8d0ec0b391321c143614530b3205b31 (diff)
downloadurpmi-fcb849559e7a0f41e109c05cd499963435378eaa.tar
urpmi-fcb849559e7a0f41e109c05cd499963435378eaa.tar.gz
urpmi-fcb849559e7a0f41e109c05cd499963435378eaa.tar.bz2
urpmi-fcb849559e7a0f41e109c05cd499963435378eaa.tar.xz
urpmi-fcb849559e7a0f41e109c05cd499963435378eaa.zip
3.3-21mdk
-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).