diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2006-11-15 16:55:29 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2006-11-15 16:55:29 +0000 |
commit | 3b444951a1e0efac6d703fb0fe97fc8d826a8ddc (patch) | |
tree | 9032af31ca68f2efab4d0f060fe13193f92e1859 /urpm.pm | |
parent | 4e09cceef3d7c86f9eff7c5e65c2ba88e2e78c85 (diff) | |
download | urpmi-3b444951a1e0efac6d703fb0fe97fc8d826a8ddc.tar urpmi-3b444951a1e0efac6d703fb0fe97fc8d826a8ddc.tar.gz urpmi-3b444951a1e0efac6d703fb0fe97fc8d826a8ddc.tar.bz2 urpmi-3b444951a1e0efac6d703fb0fe97fc8d826a8ddc.tar.xz urpmi-3b444951a1e0efac6d703fb0fe97fc8d826a8ddc.zip |
cleanup this mess
Diffstat (limited to 'urpm.pm')
-rw-r--r-- | urpm.pm | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -1126,22 +1126,20 @@ sub _update_media__virtual { my ($urpm, $medium, $with_hdlist_dir) = @_; if ($medium->{with_hdlist} && -e $with_hdlist_dir) { - delete @$medium{qw(start end)}; + delete $medium->{modified}; $urpm->{md5sum_modified} = 1; if ($medium->{synthesis}) { _parse_synthesis($urpm, $medium, $with_hdlist_dir); - delete $medium->{modified}; $medium->{synthesis} = 1; if (!is_valid_medium($medium)) { _parse_hdlist($urpm, $medium, $with_hdlist_dir); - delete @$medium{qw(modified synthesis)}; + delete $medium->{synthesis}; } } else { _parse_hdlist($urpm, $medium, $with_hdlist_dir); - delete @$medium{qw(modified synthesis)}; + delete $medium->{synthesis}; if (!is_valid_medium($medium)) { _parse_synthesis($urpm, $medium, $with_hdlist_dir); - delete $medium->{modified}; $medium->{synthesis} = 1; } } |