summaryrefslogtreecommitdiffstats
path: root/move/make_live
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-04-19 14:45:51 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-04-19 14:45:51 +0000
commitb60585a154601978f6070123e50f6977c1d9fdf9 (patch)
treef17c3a705164b125649e2eccc2e4e80968cd6f35 /move/make_live
parentcd21df05370c410a5558ad8ed4ae7e62c5c3e9e0 (diff)
downloaddrakx-backup-do-not-use-b60585a154601978f6070123e50f6977c1d9fdf9.tar
drakx-backup-do-not-use-b60585a154601978f6070123e50f6977c1d9fdf9.tar.gz
drakx-backup-do-not-use-b60585a154601978f6070123e50f6977c1d9fdf9.tar.bz2
drakx-backup-do-not-use-b60585a154601978f6070123e50f6977c1d9fdf9.tar.xz
drakx-backup-do-not-use-b60585a154601978f6070123e50f6977c1d9fdf9.zip
savekdemimetypes.pl needs HOME=/ otherwise it's tmp file fails (it is in ~/tmp)
Diffstat (limited to 'move/make_live')
-rwxr-xr-xmove/make_live7
1 files changed, 5 insertions, 2 deletions
diff --git a/move/make_live b/move/make_live
index 2685bdfd5..1d02ebce1 100755
--- a/move/make_live
+++ b/move/make_live
@@ -206,8 +206,11 @@ substInFile {
s!/es/Starter.html/!/en/Starter.html/!;
} "$::prefix/usr/share/mdk/mandrakegalaxy/mdkgalaxy-es.html";
-$ENV{LC_ALL} = 'en_US'; #- update-menus doesn't work when there is no locale (aka locale "C")
-run_program::rooted($::prefix, 'update-menus', '-n');
+{
+ local $ENV{LC_ALL} = 'en_US'; #- update-menus doesn't work when there is no locale (aka locale "C")
+ local $ENV{HOME} = '/'; #- savekdemimetypes.pl needs this otherwise it's tmp file fails
+ run_program::rooted($::prefix, 'update-menus', '-n');
+}
run_program::rooted($::prefix, 'nspluginscan'); #- must be run before kbuildsycoca for the ksycoca to be flash plugin aware