diff options
author | Francois Pons <fpons@mandriva.com> | 2003-02-19 14:38:02 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2003-02-19 14:38:02 +0000 |
commit | e6e54b56dfdcac3838cbde9699c5a2321afd2917 (patch) | |
tree | 5366f4dbfac0ad92fd9308229928ce83ffa6308c /perl-install | |
parent | 0e3da55b036488cfb78e5277f6bf179c06c470c2 (diff) | |
download | drakx-e6e54b56dfdcac3838cbde9699c5a2321afd2917.tar drakx-e6e54b56dfdcac3838cbde9699c5a2321afd2917.tar.gz drakx-e6e54b56dfdcac3838cbde9699c5a2321afd2917.tar.bz2 drakx-e6e54b56dfdcac3838cbde9699c5a2321afd2917.tar.xz drakx-e6e54b56dfdcac3838cbde9699c5a2321afd2917.zip |
add simplified menu for desktop mode.
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/install_steps.pm | 5 |
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"); |