From 5128a00400a2e16260d42869456951ed809db223 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Fri, 25 May 2018 14:32:54 +0200 Subject: [PATCH] Fix raspberry pi 3 kernel check_update version comparison Signed-off-by: David Oberhollenzer --- pkg/linux-rpi3/build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/linux-rpi3/build b/pkg/linux-rpi3/build index c65c82c..31cfe85 100755 --- a/pkg/linux-rpi3/build +++ b/pkg/linux-rpi3/build @@ -34,7 +34,7 @@ deploy() { } check_update() { - local version=$(echo $VERSION | sed 's/-[0-9]*$//g') + local version=$(echo $VERSION | sed 's/-/./g') curl --silent -L "https://github.com/raspberrypi/linux/releases" | \ grep -o "raspberrypi-kernel_[0-9.]*-[0-9]" | \