diff options
author | Francois Pons <fpons@mandriva.com> | 2003-09-17 14:19:48 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2003-09-17 14:19:48 +0000 |
commit | 845aac0287ca4edd17ea268f38ad99853805f48d (patch) | |
tree | 2725b9f910438265139423a28c0e25697328aa63 /perl-install/install_steps.pm | |
parent | 8c021a7220c498f4a661029eb358938a494e5c3e (diff) | |
download | drakx-845aac0287ca4edd17ea268f38ad99853805f48d.tar drakx-845aac0287ca4edd17ea268f38ad99853805f48d.tar.gz drakx-845aac0287ca4edd17ea268f38ad99853805f48d.tar.bz2 drakx-845aac0287ca4edd17ea268f38ad99853805f48d.tar.xz drakx-845aac0287ca4edd17ea268f38ad99853805f48d.zip |
install urpmi before update-menus is called.
Diffstat (limited to 'perl-install/install_steps.pm')
-rw-r--r-- | perl-install/install_steps.pm | 5 |
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"); |