summaryrefslogtreecommitdiffstats
path: root/urpmi
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-11-19 13:34:51 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-11-19 13:34:51 +0000
commit98edbcab8e1c7fc4d3bd2ed0fcb3786b6ce75a21 (patch)
tree60b26ef625d30bbb4ba82c544cf6ae5f958be728 /urpmi
parenta9eae95bbd960d1ffcaad9e09fc890030a5f6ec3 (diff)
downloadurpmi-98edbcab8e1c7fc4d3bd2ed0fcb3786b6ce75a21.tar
urpmi-98edbcab8e1c7fc4d3bd2ed0fcb3786b6ce75a21.tar.gz
urpmi-98edbcab8e1c7fc4d3bd2ed0fcb3786b6ce75a21.tar.bz2
urpmi-98edbcab8e1c7fc4d3bd2ed0fcb3786b6ce75a21.tar.xz
urpmi-98edbcab8e1c7fc4d3bd2ed0fcb3786b6ce75a21.zip
- urpmi
o --auto-update is quite unsafe, but at least now it should be cleaner (ensure $urpm doesn't have media twice) bug triggered by --auto-update --update. still --auto-update --update should not update non-update media...
Diffstat (limited to 'urpmi')
-rwxr-xr-xurpmi7
1 files changed, 4 insertions, 3 deletions
diff --git a/urpmi b/urpmi
index f98f8a50..307a6bcb 100755
--- a/urpmi
+++ b/urpmi
@@ -369,9 +369,10 @@ if ($auto_update && !$bug && !$env) {
nomd5sum => $nomd5sum,
forcekey => $forcekey,
);
- foreach (@{$urpm->{media} || []}) {
- $_->{tempignore} and delete $_->{ignore};
- }
+ delete $urpm->{media};
+ $urpm->{depslist} = [];
+ $urpm->{provides} = {};
+ $urpm->{obsoletes} = {};
}
urpm::media::configure($urpm, %config_hash);