summaryrefslogtreecommitdiffstats
path: root/perl-install/live_install
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-04-04 13:10:35 +0000
committerFrancois Pons <fpons@mandriva.com>2001-04-04 13:10:35 +0000
commit219b63a085118989d1637a0445f11caa2665e260 (patch)
treecb0957ed0e747ec87b204e5fbd28a8910a906836 /perl-install/live_install
parented3a566446e870f1a5afc218e77cc2538ee78725 (diff)
downloaddrakx-backup-do-not-use-219b63a085118989d1637a0445f11caa2665e260.tar
drakx-backup-do-not-use-219b63a085118989d1637a0445f11caa2665e260.tar.gz
drakx-backup-do-not-use-219b63a085118989d1637a0445f11caa2665e260.tar.bz2
drakx-backup-do-not-use-219b63a085118989d1637a0445f11caa2665e260.tar.xz
drakx-backup-do-not-use-219b63a085118989d1637a0445f11caa2665e260.zip
unset locale environment for safety
Diffstat (limited to 'perl-install/live_install')
-rwxr-xr-xperl-install/live_install3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/live_install b/perl-install/live_install
index a0fd7dc67..030bc28ff 100755
--- a/perl-install/live_install
+++ b/perl-install/live_install
@@ -36,6 +36,9 @@ if [ -x "/tmp/drakx/mdkinst/usr/bin/perl-install/live_install2" ]; then
xset fp rehash
fi
+ # avoid pollution for environment
+ unset LC_MONETARY LC_CTYPE LC_NUMERIC LC_MESSAGES LC_TIME LC_COLLATE LANGUAGE LANG RPM_INSTALL_LANG
+
# start DrakX, do not keep shell script in background else the CD is locked by it!!!
cd /tmp/drakx/mdkinst/usr/bin/perl-install
exec ../../../lib/ld-linux.so.2 ../perl ./live_install2