diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-09-09 15:09:16 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-09-09 15:09:16 +0000 |
commit | fd92c67cff4e4b3c9521c8f9b29bbde7e28edd0d (patch) | |
tree | 20fd292bce18fc043e4d880c4154d05c06194fad /perl-install/bootloader.pm | |
parent | be1c9ffd9895c8161786eb6e435851918b8d518f (diff) | |
download | drakx-fd92c67cff4e4b3c9521c8f9b29bbde7e28edd0d.tar drakx-fd92c67cff4e4b3c9521c8f9b29bbde7e28edd0d.tar.gz drakx-fd92c67cff4e4b3c9521c8f9b29bbde7e28edd0d.tar.bz2 drakx-fd92c67cff4e4b3c9521c8f9b29bbde7e28edd0d.tar.xz drakx-fd92c67cff4e4b3c9521c8f9b29bbde7e28edd0d.zip |
o allow UTF8 in /boot/grub/menu.lst (#43714)
Diffstat (limited to 'perl-install/bootloader.pm')
-rw-r--r-- | perl-install/bootloader.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm index e121c6613..0afad1983 100644 --- a/perl-install/bootloader.pm +++ b/perl-install/bootloader.pm @@ -273,7 +273,7 @@ sub read_grub_menu_lst { my $menu_lst_file = "$::prefix/boot/grub/menu.lst"; -e $menu_lst_file or return; - foreach (cat_($menu_lst_file)) { + foreach (MDK::Common::File::cat_utf8($menu_lst_file)) { my $verbatim = $_; chomp; s/^\s*//; s/\s*$//; |