aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-03-06 11:26:37 +0000
committerThierry Vignaud <tv@mandriva.org>2007-03-06 11:26:37 +0000
commitf9937cf2d47c0ef9af7cfa780fd18f4a024328c0 (patch)
treeb6ca3b6b40d9239e82246e96a64ecb3083b989eb
parent44c75eb9161f93d187d84f181d728b75fe25925e (diff)
downloadrpmdrake-f9937cf2d47c0ef9af7cfa780fd18f4a024328c0.tar
rpmdrake-f9937cf2d47c0ef9af7cfa780fd18f4a024328c0.tar.gz
rpmdrake-f9937cf2d47c0ef9af7cfa780fd18f4a024328c0.tar.bz2
rpmdrake-f9937cf2d47c0ef9af7cfa780fd18f4a024328c0.tar.xz
rpmdrake-f9937cf2d47c0ef9af7cfa780fd18f4a024328c0.zip
do not reread the urpm database if media manager didn't perform anything
-rwxr-xr-xrpmdrake3
1 files changed, 1 insertions, 2 deletions
diff --git a/rpmdrake b/rpmdrake
index fe9aab5c..3c08a4bc 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -400,8 +400,7 @@ sub run_treeview_dialog {
[ N("/_Options"), undef, undef, undef, '<Branch>' ],
[ N("/_Options") . N("/_Media Manager"), undef, sub {
require Rpmdrake::edit_urpm_sources;
- Rpmdrake::edit_urpm_sources::run();
- $rmodes{pkgs_provider({ skip_updating_mu => 1 }, $options->{tree_mode})};
+ Rpmdrake::edit_urpm_sources::run() and $rmodes{pkgs_provider({ skip_updating_mu => 1 }, $options->{tree_mode})};
}, undef, '<Item>' ],
[ N("/_Options") . N("/_Show automatically selected packages"), undef, sub {
$dont_show_selections = !$checkbox_show_autoselect->get_active;