diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-07-02 12:05:39 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-07-02 12:05:39 +0000 |
commit | fc2124e224c18b8846b7c11c6878a2335a39c6dc (patch) | |
tree | 3d32752b44907ce5fae2160973b87db789a62204 /rpmdrake.pm | |
parent | 2354ef60cb026f98e0b7a79049c2093c6c534138 (diff) | |
download | rpmdrake-fc2124e224c18b8846b7c11c6878a2335a39c6dc.tar rpmdrake-fc2124e224c18b8846b7c11c6878a2335a39c6dc.tar.gz rpmdrake-fc2124e224c18b8846b7c11c6878a2335a39c6dc.tar.bz2 rpmdrake-fc2124e224c18b8846b7c11c6878a2335a39c6dc.tar.xz rpmdrake-fc2124e224c18b8846b7c11c6878a2335a39c6dc.zip |
(writeconf) add spacing
Diffstat (limited to 'rpmdrake.pm')
-rw-r--r-- | rpmdrake.pm | 2 |
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; } |