Ubuntu Pastebin

Paste from adconrad at Tue, 17 Feb 2015 22:51:01 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
=== modified file 'scripts/check-kernels'
--- scripts/check-kernels	2012-12-06 17:19:43 +0000
+++ scripts/check-kernels	2015-02-17 22:50:59 +0000
@@ -59,7 +59,13 @@
 	case $kernel in
 	    linux-signed-*)
 		if [ "$(apt-cache search -n "^$kernel\$")" ]; then
-			install_new="${install_new:+$install_new }$kernel"
+		    for candidate in $kernels; do
+			case $candidate in
+			    $kernel)
+				install_new="${install_new:+$install_new }$kernel"
+				;;
+			esac
+		    done
 		fi
 		;;
 	esac
Download as text