diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2003-05-19 14:12:31 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2003-05-19 14:12:31 +0000 |
commit | fbc45ca35ec37193c98efe2e804278b26ef34eb6 (patch) | |
tree | 6f973421a27dfcdb83c1c0a4b4d33e43d81d529b /perl-install/bootloader.pm | |
parent | 686c70f8f8b37ea58b04d339e15d4825924c67b9 (diff) | |
download | drakx-backup-do-not-use-fbc45ca35ec37193c98efe2e804278b26ef34eb6.tar drakx-backup-do-not-use-fbc45ca35ec37193c98efe2e804278b26ef34eb6.tar.gz drakx-backup-do-not-use-fbc45ca35ec37193c98efe2e804278b26ef34eb6.tar.bz2 drakx-backup-do-not-use-fbc45ca35ec37193c98efe2e804278b26ef34eb6.tar.xz drakx-backup-do-not-use-fbc45ca35ec37193c98efe2e804278b26ef34eb6.zip |
fix #3560 (drakboot not updating bootloader label): the only confusing
bug is that when one come back to drakboot main window after having
altered the bootloader, the main window still list the old bootloader
as the current bootloader.
let update this label.
btw consolidate bootloader detection in bootloader::detect_bootloader()
Diffstat (limited to 'perl-install/bootloader.pm')
-rw-r--r-- | perl-install/bootloader.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm index e6428ae92..c685b86d1 100644 --- a/perl-install/bootloader.pm +++ b/perl-install/bootloader.pm @@ -593,6 +593,10 @@ wait %d seconds for default boot. $bootloader->{method} = first(method_choices($fstab, $bootloader)); } +sub detect_bootloader() { + chomp_(run_program::rooted_get_stdout($::prefix, 'detectloader')); +} + sub method_choices { my ($fstab, $bootloader) = @_; my %choices = ( |