summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-08-21 12:46:04 +0000
committerThierry Vignaud <tv@mandriva.org>2008-08-21 12:46:04 +0000
commite59770f1f2acf16915f696f1b2c6d2edbd750157 (patch)
tree7bdd50ff86ec51846b711d3dff9241ef86f7539d
parent9833b5fa6ba7fe7cd82c31ddab63875d17231ae8 (diff)
downloaddrakx-e59770f1f2acf16915f696f1b2c6d2edbd750157.tar
drakx-e59770f1f2acf16915f696f1b2c6d2edbd750157.tar.gz
drakx-e59770f1f2acf16915f696f1b2c6d2edbd750157.tar.bz2
drakx-e59770f1f2acf16915f696f1b2c6d2edbd750157.tar.xz
drakx-e59770f1f2acf16915f696f1b2c6d2edbd750157.zip
(installPackages) do not set $HOME while installing packages (#18088)
-rw-r--r--perl-install/install/NEWS2
-rw-r--r--perl-install/install/steps.pm1
2 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index cbab2ed05..6abb700c7 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,3 +1,5 @@
+- do not set $HOME while installing packages (#18088)
+
Version 11.20 - 20 August 2008
- do not uselessly install kernel-server on x86_64 if more than 3.8Gb
diff --git a/perl-install/install/steps.pm b/perl-install/install/steps.pm
index 812ff7776..412e027e8 100644
--- a/perl-install/install/steps.pm
+++ b/perl-install/install/steps.pm
@@ -418,6 +418,7 @@ sub installPackages { #- complete REWORK, TODO and TOCHECK!
local $ENV{DURING_INSTALL} = 1;
local $ENV{TMPDIR} = '/tmp';
local $ENV{TMP} = '/tmp';
+ local $ENV{HOME};
install::pkgs::install($o->{isUpgrade}, \@toInstall, $packages, \&installCallback);
}
any::writeandclean_ldsoconf($::prefix);