summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-09-17 15:02:47 +0000
committerFrancois Pons <fpons@mandriva.com>2003-09-17 15:02:47 +0000
commitfe7d3bce5c61c4b6241628fedd5a60bfcd68355c (patch)
treea5fa73c925ffe6c6e1ddffaba2e96eb7dd6932e1 /perl-install/install_steps.pm
parentb41c1cc617459ae1167b5683c2613b6ccc51a2b3 (diff)
downloaddrakx-fe7d3bce5c61c4b6241628fedd5a60bfcd68355c.tar
drakx-fe7d3bce5c61c4b6241628fedd5a60bfcd68355c.tar.gz
drakx-fe7d3bce5c61c4b6241628fedd5a60bfcd68355c.tar.bz2
drakx-fe7d3bce5c61c4b6241628fedd5a60bfcd68355c.tar.xz
drakx-fe7d3bce5c61c4b6241628fedd5a60bfcd68355c.zip
moved update-menu after installation of oem-theme.rpm
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();