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, 3 insertions, 2 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index 3b48b2570..bc8e52e74 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -460,8 +460,6 @@ Consoles 1,3,4,7 may also contain interesting information";
} elsif (!$o->{isUpgrade}) {
run_program::rooted($o->{prefix}, "touch", "/etc/menu/do-not-create-menu-link");
}
- #- call update-menus at the end of package installation
- push @{$o->{waitpids}}, run_program::raw({ root => $o->{prefix}, detach => 1 }, "update-menus", "-n");
if ($o->{pcmcia}) {
substInFile { s/.*(TaskBarShowAPMStatus).*/$1=1/ } "$o->{prefix}/usr/lib/X11/icewm/preferences";
@@ -530,6 +528,9 @@ GridHeight=70
unlink "/usr/share/oem-theme.rpm";
}
+ #- call update-menus at the end of package installation
+ push @{$o->{waitpids}}, run_program::raw({ root => $o->{prefix}, detach => 1 }, "update-menus", "-n");
+
if ($o->{blank} || $o->{updatemodules}) {
my @l = detect_devices::floppies_dev();