From 21ba361db26182b0ad557c8c4869e2c3870e3328 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 24 Oct 2007 15:11:14 +0000 Subject: - bootloader-config: o if drakx-kbd-mouse-x11 is not installed, simply don't add bootsplash instead of dying --- perl-install/bootloader.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/bootloader.pm') diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm index ae99ad69f..2ca5e061e 100644 --- a/perl-install/bootloader.pm +++ b/perl-install/bootloader.pm @@ -144,7 +144,7 @@ sub add_boot_splash { $vga or return; - require Xconfig::resolution_and_depth; + eval { require Xconfig::resolution_and_depth } or return; if (my $res = Xconfig::resolution_and_depth::from_bios($vga)) { run_program::rooted($::prefix, '/usr/share/bootsplash/scripts/make-boot-splash', $initrd, $res->{X}); } else { -- cgit v1.2.1