summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/urpm.pm b/urpm.pm
index 2c7daca2..d5e0bbcd 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -1127,11 +1127,11 @@ sub _update_media__virtual {
if ($medium->{with_hdlist} && -e $with_hdlist_dir) {
delete @$medium{qw(start end)};
+ $urpm->{md5sum_modified} = 1;
if ($medium->{synthesis}) {
_parse_synthesis($urpm, $medium, $with_hdlist_dir);
delete $medium->{modified};
$medium->{synthesis} = 1;
- $urpm->{md5sum_modified} = 1;
if (!is_valid_medium($medium)) {
_parse_hdlist($urpm, $medium, $with_hdlist_dir);
delete @$medium{qw(modified synthesis)};
@@ -1139,7 +1139,6 @@ sub _update_media__virtual {
} else {
_parse_hdlist($urpm, $medium, $with_hdlist_dir);
delete @$medium{qw(modified synthesis)};
- $urpm->{md5sum_modified} = 1;
if (!is_valid_medium($medium)) {
_parse_synthesis($urpm, $medium, $with_hdlist_dir);
delete $medium->{modified};