From b60585a154601978f6070123e50f6977c1d9fdf9 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 19 Apr 2004 14:45:51 +0000 Subject: savekdemimetypes.pl needs HOME=/ otherwise it's tmp file fails (it is in ~/tmp) --- move/make_live | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'move/make_live') 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 -- cgit v1.2.1