aboutsummaryrefslogtreecommitdiffstats
path: root/rpmdrake.pm
diff options
context:
space:
mode:
Diffstat (limited to 'rpmdrake.pm')
-rw-r--r--rpmdrake.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm
index 74bd1891..f030963c 100644
--- a/rpmdrake.pm
+++ b/rpmdrake.pm
@@ -180,8 +180,10 @@ sub readconf() {
sub writeconf() {
unlink $configfile;
+
# special case:
$no_confirmation->[0] = $::rpmdrake_options{'no-confirmation'};
+
output $configfile, map { "$_ " . (ref ${$config{$_}{var}} ? join(' ', @${$config{$_}{var}}) : ()) . "\n" } keys %config;
}