summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2006-03-08 19:55:53 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2006-03-08 19:55:53 +0000
commit131b608016f7d04d3486e06da3b7144fed1fec5b (patch)
tree81d6ab2357734cd970001664dc04eb5af4c63727
parentda176c64ec43e71427bdd4a80d22ae1c72ab7b01 (diff)
downloadmgaonline-131b608016f7d04d3486e06da3b7144fed1fec5b.tar
mgaonline-131b608016f7d04d3486e06da3b7144fed1fec5b.tar.gz
mgaonline-131b608016f7d04d3486e06da3b7144fed1fec5b.tar.bz2
mgaonline-131b608016f7d04d3486e06da3b7144fed1fec5b.tar.xz
mgaonline-131b608016f7d04d3486e06da3b7144fed1fec5b.zip
erase the .bundle file once it has been read (security)
-rwxr-xr-xmdkupdate1
1 files changed, 1 insertions, 0 deletions
diff --git a/mdkupdate b/mdkupdate
index 335a5698..22f103fc 100755
--- a/mdkupdate
+++ b/mdkupdate
@@ -140,6 +140,7 @@ if (!$bundle) {
}
my $bundle_info;
my %bundle_vars = getVarsFromSh($bundle);
+ rm_rf($bundle);
$wc->{USER_EMAIL} or system("/usr/sbin/mdkonline");
$wc = mdkonline::read_conf();