diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-03-10 16:15:59 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-03-10 16:15:59 +0000 |
commit | f9b9b3bb167ac3e33402e4af4820209a832f2555 (patch) | |
tree | 6bf87e032865647d18c228ed760311b9fd99b738 /Rpmdrake | |
parent | 9d1ec0c161f207aa1267b8126c45b96576132f04 (diff) | |
download | rpmdrake-f9b9b3bb167ac3e33402e4af4820209a832f2555.tar rpmdrake-f9b9b3bb167ac3e33402e4af4820209a832f2555.tar.gz rpmdrake-f9b9b3bb167ac3e33402e4af4820209a832f2555.tar.bz2 rpmdrake-f9b9b3bb167ac3e33402e4af4820209a832f2555.tar.xz rpmdrake-f9b9b3bb167ac3e33402e4af4820209a832f2555.zip |
(warn_about_media) really only update media in MandrivaUpdate, not in
rpmdrake (regression introduced in r238593 on 2008-03-05 for 4.4:
"(readconf) remember latest view mode (#38138)")
Diffstat (limited to 'Rpmdrake')
-rw-r--r-- | Rpmdrake/pkg.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm index 6e8bc8e0..c5e71afd 100644 --- a/Rpmdrake/pkg.pm +++ b/Rpmdrake/pkg.pm @@ -230,7 +230,7 @@ sub get_update_medias { sub warn_about_media { my ($w, $opts) = @_; - return if !member($::default_list_mode, qw(all_updates security bugfix normal)); + return if $::MODE ne 'update'; return if $::rpmdrake_options{'no-media-update'}; # we use our own instance of the urpmi db in order not to mess up with skip-list managment (#31092): |