diff options
author | Francois Pons <fpons@mandriva.com> | 2002-11-13 16:05:50 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2002-11-13 16:05:50 +0000 |
commit | 1de484399a7c30a9bbf05d786b0f44ff6e4dce27 (patch) | |
tree | 6eff84206ba4882e90461f2a1f4edb495439339a | |
parent | 692ea46265fa09aded20387559dc86707697d2f5 (diff) | |
download | urpmi-1de484399a7c30a9bbf05d786b0f44ff6e4dce27.tar urpmi-1de484399a7c30a9bbf05d786b0f44ff6e4dce27.tar.gz urpmi-1de484399a7c30a9bbf05d786b0f44ff6e4dce27.tar.bz2 urpmi-1de484399a7c30a9bbf05d786b0f44ff6e4dce27.tar.xz urpmi-1de484399a7c30a9bbf05d786b0f44ff6e4dce27.zip |
4.0-25mdk
-rw-r--r-- | urpm.pm | 2 | ||||
-rwxr-xr-x | urpmi | 2 | ||||
-rw-r--r-- | urpmi.spec | 7 |
3 files changed, 8 insertions, 3 deletions
@@ -1054,7 +1054,7 @@ sub update_media { "../synthesis.hdlist$suffix.cz", !$suffix ? ("../synthesis.hdlist1.cz") : (), "../base/hdlist$suffix.cz", !$suffix ? ("../base/hdlist1.cz") : (), ) { - $basename = (/^.*\/([^\/]*)$/ && $1) || $_; + $basename = (/^.*\/([^\/]*)$/ && $1) || $_ or next; unlink "$urpm->{cachedir}/partial/$basename"; eval { @@ -131,7 +131,7 @@ while (defined($_ = shift @ARGV)) { /^--fuzzy$/ and do { $fuzzy = 1; next }; /^--src$/ and do { $src = 1; next }; /^--clean$/ and do { $clean = 1; $noclean = 0; next }; - /^--noclean$/ and do { $clean = 0; $noclean = 1; next }; + /^--noclean$/ and do { $clean = $pre_clean_cache = $post_clean_cache = 0; $noclean = 1; next }; /^--(no-)?pre-clean$/ and do { $pre_clean_cache = !$1; next }; /^--(no-)?post-clean$/ and do { $post_clean_cache = !$1; next }; /^--force$/ and do { $force = 1; next }; @@ -2,7 +2,7 @@ Name: urpmi Version: 4.0 -Release: 24mdk +Release: 25mdk License: GPL Source0: %{name}.tar.bz2 Source1: %{name}.logrotate @@ -204,6 +204,11 @@ fi %changelog +* Wed Nov 13 2002 François Pons <fpons@mandrakesoft.com> 4.0-25mdk +- fixed --noclean not really completely noclean. +- avoid possible lost of with_hdlist parameter on some case + when updating a medium. + * Thu Nov 7 2002 François Pons <fpons@mandrakesoft.com> 4.0-24mdk - fixed still present debug output of urpmq -R. - fixed bad use of cached list file for file or nfs media. |