summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install_steps.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index cf68ac593..bcd8e0889 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -443,6 +443,11 @@ Consoles 1,3,4,7 may also contain interesting information";
run_program::rooted($o->{prefix}, "chkconfig", "--del", "gpm")
}
+ #- update menu scheme before calling update menus if desktop mode.
+ if ($o->{meta_class} eq 'desktop') {
+ run_program::rooted($o->{prefix}, "touch", "/etc/menu/do-not-create-menu-link");
+ run_program::rooted($o->{prefix}, "touch", "/etc/menu/enable_simplified");
+ }
#- call update-menus at the end of package installation
run_program::rooted($o->{prefix}, "update-menus");