summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/install_steps.pm')
-rw-r--r--perl-install/install_steps.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index 256f37122..9bb3bd26a 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -329,7 +329,10 @@ Consoles 1,3,4,7 may also contain interesting information";
run_program::rooted($o->{prefix}, "chkfontpath", "--add", "/usr/X11R6/lib/X11/fonts/mdk");
#- call update-menus at the end of package installation
- run_program::rooted($o->{prefix}, "update-menus");
+ {
+ local $ENV{DURING_INSTALL}; undef $ENV{DURING_INSTALL};
+ run_program::rooted($o->{prefix}, "update-menus");
+ }
#- mainly for auto_install's
run_program::rooted($o->{prefix}, "sh", "-c", $o->{postInstall}) if $o->{postInstall};