aboutsummaryrefslogtreecommitdiffstats
path: root/rpmdrake.pm
diff options
context:
space:
mode:
Diffstat (limited to 'rpmdrake.pm')
-rw-r--r--rpmdrake.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm
index b471de08..6a76d4fa 100644
--- a/rpmdrake.pm
+++ b/rpmdrake.pm
@@ -161,6 +161,7 @@ sub readconf {
}
sub writeconf {
+ unlink $configfile;
output $configfile, map { "$_ " . join(' ', @${$config{$_}{var}}) . "\n" } keys %config;
}