aboutsummaryrefslogtreecommitdiffstats
path: root/rpmdrake.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-03-05 14:39:47 +0000
committerThierry Vignaud <tv@mandriva.org>2008-03-05 14:39:47 +0000
commit6ebccbefb748953cc52b48ec44d38c3078555b13 (patch)
treeb3f9e112c6cba37ab36af13fd7c992eca6333fff /rpmdrake.pm
parentc325ba0b3c587aa4d94dbfa023702d1f4e34ac96 (diff)
downloadrpmdrake-6ebccbefb748953cc52b48ec44d38c3078555b13.tar
rpmdrake-6ebccbefb748953cc52b48ec44d38c3078555b13.tar.gz
rpmdrake-6ebccbefb748953cc52b48ec44d38c3078555b13.tar.bz2
rpmdrake-6ebccbefb748953cc52b48ec44d38c3078555b13.tar.xz
rpmdrake-6ebccbefb748953cc52b48ec44d38c3078555b13.zip
fix crash (#38514) due to not having commited all bits of 'remember state of
"Show automatically selected packages" (#38138)'
Diffstat (limited to 'rpmdrake.pm')
-rw-r--r--rpmdrake.pm3
1 files changed, 2 insertions, 1 deletions
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) ] },