aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--rpmdrake.pm3
2 files changed, 4 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index f31d823c..9a897bf9 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- fix crash (#38545) due to not having commited all bits of 'remember
+ state of "Show automatically selected packages" (#38138)'
- rpmdrake:
o do not reset search field
diff --git a/rpmdrake.pm b/rpmdrake.pm
index 527d40b1..021aa366 100644
--- a/rpmdrake.pm
+++ b/rpmdrake.pm
@@ -86,7 +86,7 @@ our @EXPORT = qw(
);
our $typical_width = 280;
-our $dont_show_selections = $> ? 1 : 0;
+our $dont_show_selections;
# i18n: IMPORTANT: to get correct namespace (rpmdrake instead of libDrakX)
BEGIN { unshift @::textdomains, qw(rpmdrake urpmi rpm-summary-main rpm-summary-contrib rpm-summary-devel) }
@@ -151,6 +151,7 @@ our ($mandrakeupdate_wanted_categories, $offered_to_add_sources, $no_confirmatio
our %config = (
mandrakeupdate_wanted_categories => { var => \$mandrakeupdate_wanted_categories, default => [ qw(security) ] },
already_splashed => { var => \$already_splashed, default => [] },
+ dont_show_selections => { var => \$dont_show_selections, default => [ $> ? 1 : 0 ] },
max_info_in_descr => { var => \$max_info_in_descr, default => [] },
offered_to_add_sources => { var => \$offered_to_add_sources, default => [ 0 ] },
tree_mode => { var => \$tree_mode, default => [ qw(gui_pkgs) ] },