summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-04-18 14:38:41 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-04-18 14:38:41 +0000
commit55d44a1b5c6e4d2f45d365fe7680aa619c831506 (patch)
tree79acc6af53dc612896b99f3e218569c5ca9892f6 /perl-install/install_steps.pm
parent9e8dbe6e3b60bfd65346d5fa6c11b4723599aebb (diff)
downloaddrakx-backup-do-not-use-55d44a1b5c6e4d2f45d365fe7680aa619c831506.tar
drakx-backup-do-not-use-55d44a1b5c6e4d2f45d365fe7680aa619c831506.tar.gz
drakx-backup-do-not-use-55d44a1b5c6e4d2f45d365fe7680aa619c831506.tar.bz2
drakx-backup-do-not-use-55d44a1b5c6e4d2f45d365fe7680aa619c831506.tar.xz
drakx-backup-do-not-use-55d44a1b5c6e4d2f45d365fe7680aa619c831506.zip
no_comment
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};