1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-06-18 09:20:12 +02:00

Fix raspberry pi 3 kernel check_update version comparison

Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
This commit is contained in:
David Oberhollenzer 2018-05-25 14:32:54 +02:00
parent c0027fbaf7
commit 5128a00400

View file

@ -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]" | \