summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/install_steps.pm')
-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");