aboutsummaryrefslogtreecommitdiffstats
path: root/rpmdrake.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-10-11 10:55:19 +0000
committerThierry Vignaud <tv@mandriva.org>2008-10-11 10:55:19 +0000
commit1a8cf63b6a60e3423a6230ef70a00751daf0412f (patch)
treec82a0f84f2b5e847d9bfc1f9fd2ef22eec3187f2 /rpmdrake.pm
parentad605471f37bb48b1c0ebcff2b7bf64ccabe0a21 (diff)
downloadrpmdrake-1a8cf63b6a60e3423a6230ef70a00751daf0412f.tar
rpmdrake-1a8cf63b6a60e3423a6230ef70a00751daf0412f.tar.gz
rpmdrake-1a8cf63b6a60e3423a6230ef70a00751daf0412f.tar.bz2
rpmdrake-1a8cf63b6a60e3423a6230ef70a00751daf0412f.tar.xz
rpmdrake-1a8cf63b6a60e3423a6230ef70a00751daf0412f.zip
(writeconf) do not write chrooted .rpmdrake config file on exit when using --env
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 4634e850..aa35c6d1 100644
--- a/rpmdrake.pm
+++ b/rpmdrake.pm
@@ -189,6 +189,7 @@ sub readconf() {
}
sub writeconf() {
+ return if $::env;
unlink $configfile;
# special case: