From eb3df7baf30b1c1bb23699925b7fc22f57ed6339 Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Wed, 1 Mar 2006 15:02:38 +0000 Subject: Update config file when not run as root --- rpmdrake.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'rpmdrake.pm') 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; } -- cgit v1.2.1