aboutsummaryrefslogtreecommitdiffstats
path: root/rpmdrake.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-03-05 01:28:52 +0000
committerThierry Vignaud <tv@mandriva.org>2008-03-05 01:28:52 +0000
commit7373c664effe6ec73c9dc55813859678daafa3cb (patch)
tree4aee1bf99a9ca6b763ef0b1604106e5d2e1235bc /rpmdrake.pm
parent05c7308234a8b54fde7220beb2a9da5297f83965 (diff)
downloadrpmdrake-7373c664effe6ec73c9dc55813859678daafa3cb.tar
rpmdrake-7373c664effe6ec73c9dc55813859678daafa3cb.tar.gz
rpmdrake-7373c664effe6ec73c9dc55813859678daafa3cb.tar.bz2
rpmdrake-7373c664effe6ec73c9dc55813859678daafa3cb.tar.xz
rpmdrake-7373c664effe6ec73c9dc55813859678daafa3cb.zip
(readconf) remember latest view mode (#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 36db11ac..a57b7e6e 100644
--- a/rpmdrake.pm
+++ b/rpmdrake.pm
@@ -161,8 +161,9 @@ sub readconf() {
foreach my $l (cat_($configfile)) {
$l =~ /^\Q$_\E (.*)/ and ${$config{$_}{var}} = [ split ' ', $1 ] foreach keys %config;
}
- # special case:
+ # special cases:
$::rpmdrake_options{'no-confirmation'} = $no_confirmation->[0] if !defined $::rpmdrake_options{'no-confirmation'};
+ $Rpmdrake::init::default_list_mode = $tree_mode->[0] if ref $tree_mode;
}
sub writeconf() {