diff options
-rwxr-xr-x | move/make_live | 7 |
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 |