summaryrefslogtreecommitdiffstats
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
parentb41c1cc617459ae1167b5683c2613b6ccc51a2b3 (diff)
downloaddrakx-backup-do-not-use-fe7d3bce5c61c4b6241628fedd5a60bfcd68355c.tar
drakx-backup-do-not-use-fe7d3bce5c61c4b6241628fedd5a60bfcd68355c.tar.gz
drakx-backup-do-not-use-fe7d3bce5c61c4b6241628fedd5a60bfcd68355c.tar.bz2
drakx-backup-do-not-use-fe7d3bce5c61c4b6241628fedd5a60bfcd68355c.tar.xz
drakx-backup-do-not-use-fe7d3bce5c61c4b6241628fedd5a60bfcd68355c.zip
moved update-menu after installation of oem-theme.rpm
-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();