aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrpmdrake10
1 files changed, 6 insertions, 4 deletions
diff --git a/rpmdrake b/rpmdrake
index 31cd5fee..44d3472d 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -49,9 +49,6 @@ our $w;
my $treeview_dialog_run = 0;
our $statusbar;
-warn_about_user_mode();
-
-open_db();
sub do_search($$$$$$$) {
my ($find_entry, $tree, $tree_model, $options, $current_search_type, $urpm, $pkgs) = @_;
@@ -529,9 +526,14 @@ sub run_treeview_dialog {
# -=-=-=---=-=-=---=-=-=-- main -=-=-=---=-=-=---=-=-=-
+readconf();
+
+warn_about_user_mode();
+
+open_db();
+
do_merge_if_needed();
-readconf();
init();