diff options
Diffstat (limited to 'rpmdrake.pm')
-rw-r--r-- | rpmdrake.pm | 3 |
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() { |