summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-03-26 11:54:37 +0000
committerFrancois Pons <fpons@mandriva.com>2001-03-26 11:54:37 +0000
commitf09adc5ead5dfa93ea5c46086c4a6540600302fb (patch)
treedec5f5e343fa25c90383ab92738b75790499a344
parentc07b35a7df3d2ccbed6a380f032b05dae24e4f49 (diff)
downloadurpmi-f09adc5ead5dfa93ea5c46086c4a6540600302fb.tar
urpmi-f09adc5ead5dfa93ea5c46086c4a6540600302fb.tar.gz
urpmi-f09adc5ead5dfa93ea5c46086c4a6540600302fb.tar.bz2
urpmi-f09adc5ead5dfa93ea5c46086c4a6540600302fb.tar.xz
urpmi-f09adc5ead5dfa93ea5c46086c4a6540600302fb.zip
*** empty log message ***
-rw-r--r--urpm.pm2
-rw-r--r--urpmi.spec5
2 files changed, 5 insertions, 2 deletions
diff --git a/urpm.pm b/urpm.pm
index b7dc3055..cdbd7aec 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -447,7 +447,7 @@ sub update_media {
#- try to sync (copy if needed) local copy after restored the previous one.
unlink "$urpm->{cachedir}/partial/$basename";
- $options{force} or
+ $options{force} || ! -e "$urpm->{statedir}/$medium->{hdlist}" or
system("cp", "-a", "$urpm->{statedir}/$medium->{hdlist}", "$urpm->{cachedir}/partial/$basename");
system("wget", "-NP", "$urpm->{cachedir}/partial", "$medium->{url}/$medium->{with_hdlist}");
$? == 0 or $error = 1, $urpm->{error}("wget of [<source_url>/$medium->{with_hdlist}] failed (maybe wget is missing?)");
diff --git a/urpmi.spec b/urpmi.spec
index 104b2e2d..8164a107 100644
--- a/urpmi.spec
+++ b/urpmi.spec
@@ -2,7 +2,7 @@
Name: urpmi
Version: 1.5
-Release: 23mdk
+Release: 24mdk
License: GPL
Source0: %{name}.tar.bz2
Summary: User mode rpm install
@@ -114,6 +114,9 @@ autoirpm.uninstall
%changelog
+* Mon Mar 26 2001 François Pons <fpons@mandrakesoft.com> 1.5-24mdk
+- fixed annoying message when adding a medium (cp).
+
* Fri Mar 23 2001 François Pons <fpons@mandrakesoft.com> 1.5-23mdk
- added synthesis hdlist file support to speed up -m mode.