diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-06-13 12:48:41 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-06-13 12:48:41 +0000 |
commit | f629962c6f66d05b5060cb25697cd0a25a54f45a (patch) | |
tree | b1846ddefe107e267ad9ffa1c77fdba62f1e6b7a | |
parent | 9cd324937a62f1feb597472acb79a23048dbaa35 (diff) | |
download | rpmdrake-f629962c6f66d05b5060cb25697cd0a25a54f45a.tar rpmdrake-f629962c6f66d05b5060cb25697cd0a25a54f45a.tar.gz rpmdrake-f629962c6f66d05b5060cb25697cd0a25a54f45a.tar.bz2 rpmdrake-f629962c6f66d05b5060cb25697cd0a25a54f45a.tar.xz rpmdrake-f629962c6f66d05b5060cb25697cd0a25a54f45a.zip |
read config before warning if running as user in order to fix error
when trying to save config (#31367)
-rwxr-xr-x | rpmdrake | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -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(); |