From 7da2d2002e5e7cf6a43d92e8847299ccdc08e2f7 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Fri, 30 Nov 2007 18:03:12 +0000 Subject: - bootloader-config: o do not drop entries "failsafe" and "linux-nonfb" when removing a kernel --- perl-install/standalone/bootloader-config | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'perl-install/standalone/bootloader-config') diff --git a/perl-install/standalone/bootloader-config b/perl-install/standalone/bootloader-config index 8665a46e3..51bfe58ed 100755 --- a/perl-install/standalone/bootloader-config +++ b/perl-install/standalone/bootloader-config @@ -111,8 +111,10 @@ sub remove_kernel() { } if (my $kernel_str = $proposed_labels{$_->{label}}) { push @new_entries, [ $kernel_str, $_ ]; + 1; + } else { + 0; } - 1; } else { 0; } -- cgit v1.2.1