diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2006-03-01 15:02:38 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2006-03-01 15:02:38 +0000 |
commit | eb3df7baf30b1c1bb23699925b7fc22f57ed6339 (patch) | |
tree | fc1d40db21fe55b27c33cc31c777aaa60987eafe | |
parent | 52495dddc217cd629d639897847f74003b064707 (diff) | |
download | rpmdrake-eb3df7baf30b1c1bb23699925b7fc22f57ed6339.tar rpmdrake-eb3df7baf30b1c1bb23699925b7fc22f57ed6339.tar.gz rpmdrake-eb3df7baf30b1c1bb23699925b7fc22f57ed6339.tar.bz2 rpmdrake-eb3df7baf30b1c1bb23699925b7fc22f57ed6339.tar.xz rpmdrake-eb3df7baf30b1c1bb23699925b7fc22f57ed6339.zip |
Update config file when not run as root
-rw-r--r-- | rpmdrake.pm | 1 |
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; } |