summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2006-11-21 12:32:36 +0000
committerPascal Rigaux <pixel@mandriva.com>2006-11-21 12:32:36 +0000
commitbade0a0d4270471284685b1fa9e47ea79ad9f9a0 (patch)
tree4c05cf30b94e1154d3c555578b9357bc7f11de90
parentd25dd9828fd0b9eeda8440ee6cbd51c65cec85e9 (diff)
downloadurpmi-bade0a0d4270471284685b1fa9e47ea79ad9f9a0.tar
urpmi-bade0a0d4270471284685b1fa9e47ea79ad9f9a0.tar.gz
urpmi-bade0a0d4270471284685b1fa9e47ea79ad9f9a0.tar.bz2
urpmi-bade0a0d4270471284685b1fa9e47ea79ad9f9a0.tar.xz
urpmi-bade0a0d4270471284685b1fa9e47ea79ad9f9a0.zip
handle pubkey and descriptions after the whole hdlist/synthesis/list mess is settled down
-rw-r--r--urpm.pm11
1 files changed, 6 insertions, 5 deletions
diff --git a/urpm.pm b/urpm.pm
index d7a0ff03..dc67ffdd 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -1690,7 +1690,7 @@ sub _write_rpm_list {
1;
}
-#- options: callback, force, force_building_hdlist, nomd5sum, nopubkey, probe_with, quiet
+#- options: callback, force, force_building_hdlist, nomd5sum, probe_with, quiet
#- (from _update_medium__parse_if_unmodified__or_get_files__local and _update_medium__parse_if_unmodified__or_get_files__remote)
sub _update_medium_first_pass {
my ($urpm, $medium, $second_pass, $clean_cache, %options) = @_;
@@ -1772,10 +1772,6 @@ sub _update_medium_first_pass {
}
}
- _get_pubkey_and_descriptions($urpm, $medium, $options{nopubkey});
-
- _read_cachedir_pubkey($urpm, $medium);
-
unless ($medium->{virtual}) {
#- make sure to rebuild base files and clear medium modified state.
$medium->{modified} = 0;
@@ -1949,6 +1945,11 @@ sub update_media {
_update_medium_second_pass($urpm, $medium, $options{callback});
}
_update_medium_build_hdlist_synthesis($urpm, $medium);
+
+ _get_pubkey_and_descriptions($urpm, $medium, $options{nopubkey});
+
+ _read_cachedir_pubkey($urpm, $medium);
+
}
if ($urpm->{modified}) {