From fe7d3bce5c61c4b6241628fedd5a60bfcd68355c Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Wed, 17 Sep 2003 15:02:47 +0000 Subject: moved update-menu after installation of oem-theme.rpm --- perl-install/install_steps.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'perl-install/install_steps.pm') 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(); -- cgit v1.2.1