summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install_steps.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index 81ed75b39..32bec9958 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -452,6 +452,9 @@ Consoles 1,3,4,7 may also contain interesting information";
run_program::rooted($o->{prefix}, "chkconfig", "--del", "gpm")
}
+ #- install urpmi before as rpmdb will be opened, this will cause problem with update-menus.
+ $o->install_urpmi;
+
#- 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");
@@ -476,8 +479,6 @@ text-table $o->{brltty}{table}
EOF
}
- $o->install_urpmi;
-
install_any::disable_user_view() if $o->{security} >= 3 || $o->{authentication}{NIS};
run_program::rooted($o->{prefix}, "kdeDesktopCleanup");