summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-03-06 12:52:42 +0000
committerFrancois Pons <fpons@mandriva.com>2003-03-06 12:52:42 +0000
commit48e3c6c08613fbeb5485a7226aea033debdeb6a4 (patch)
tree1e876fd85a6929a10aa07f86ed3d32ac8c803434
parent3cadca720b447f23c15e15197ae0cdd0ff31a053 (diff)
downloaddrakx-48e3c6c08613fbeb5485a7226aea033debdeb6a4.tar
drakx-48e3c6c08613fbeb5485a7226aea033debdeb6a4.tar.gz
drakx-48e3c6c08613fbeb5485a7226aea033debdeb6a4.tar.bz2
drakx-48e3c6c08613fbeb5485a7226aea033debdeb6a4.tar.xz
drakx-48e3c6c08613fbeb5485a7226aea033debdeb6a4.zip
menu update method modified for upgrade.
-rw-r--r--perl-install/install_steps.pm2
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");