diff options
author | Francois Pons <fpons@mandriva.com> | 2003-03-06 12:52:42 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2003-03-06 12:52:42 +0000 |
commit | 48e3c6c08613fbeb5485a7226aea033debdeb6a4 (patch) | |
tree | 1e876fd85a6929a10aa07f86ed3d32ac8c803434 /perl-install/install_steps.pm | |
parent | 3cadca720b447f23c15e15197ae0cdd0ff31a053 (diff) | |
download | drakx-48e3c6c08613fbeb5485a7226aea033debdeb6a4.tar drakx-48e3c6c08613fbeb5485a7226aea033debdeb6a4.tar.gz drakx-48e3c6c08613fbeb5485a7226aea033debdeb6a4.tar.bz2 drakx-48e3c6c08613fbeb5485a7226aea033debdeb6a4.tar.xz drakx-48e3c6c08613fbeb5485a7226aea033debdeb6a4.zip |
menu update method modified for upgrade.
Diffstat (limited to 'perl-install/install_steps.pm')
-rw-r--r-- | perl-install/install_steps.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm index 2755e575c..c78e2c875 100644 --- a/perl-install/install_steps.pm +++ b/perl-install/install_steps.pm @@ -453,6 +453,8 @@ Consoles 1,3,4,7 may also contain interesting information"; 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"); + } 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 run_program::rooted($o->{prefix}, "update-menus"); |