diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-02-01 16:03:04 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-02-01 16:03:04 +0000 |
commit | bfe0067bd452ce2ed1d51cad1a6551bdf86b9685 (patch) | |
tree | c750c4e96dc1ac32fac95a97fdfb19a6103e6e33 /urpm | |
parent | 2bb92f7bc29ee34417d081f1eda78a4c5d7b4154 (diff) | |
download | urpmi-bfe0067bd452ce2ed1d51cad1a6551bdf86b9685.tar urpmi-bfe0067bd452ce2ed1d51cad1a6551bdf86b9685.tar.gz urpmi-bfe0067bd452ce2ed1d51cad1a6551bdf86b9685.tar.bz2 urpmi-bfe0067bd452ce2ed1d51cad1a6551bdf86b9685.tar.xz urpmi-bfe0067bd452ce2ed1d51cad1a6551bdf86b9685.zip |
simplify: _update_medium() and _update_medium_() are always called with
$medium->{modified} set
Diffstat (limited to 'urpm')
-rw-r--r-- | urpm/media.pm | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/urpm/media.pm b/urpm/media.pm index 6c8c9f9e..0caa665d 100644 --- a/urpm/media.pm +++ b/urpm/media.pm @@ -1338,11 +1338,6 @@ sub _read_cachedir_pubkey { sub _update_medium_ { my ($urpm, $medium, %options) = @_; - unless ($medium->{modified}) { - _parse_synthesis_or_ignore($urpm, $medium); - return 'unmodified'; - } - #- always delete a remaining list file or pubkey file in cache. foreach (qw(list pubkey)) { unlink "$urpm->{cachedir}/partial/$_"; |