diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-04-19 14:45:51 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-04-19 14:45:51 +0000 |
commit | b60585a154601978f6070123e50f6977c1d9fdf9 (patch) | |
tree | f17c3a705164b125649e2eccc2e4e80968cd6f35 /move/make_live | |
parent | cd21df05370c410a5558ad8ed4ae7e62c5c3e9e0 (diff) | |
download | drakx-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-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 |