From e6e54b56dfdcac3838cbde9699c5a2321afd2917 Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Wed, 19 Feb 2003 14:38:02 +0000 Subject: add simplified menu for desktop mode. --- perl-install/install_steps.pm | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'perl-install/install_steps.pm') 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"); -- cgit v1.2.1