mirror of
https://github.com/pygos/build.git
synced 2024-11-22 02:59:47 +01:00
Fix raspberry pi 3 kernel check_update version comparison
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
This commit is contained in:
parent
c0027fbaf7
commit
5128a00400
1 changed files with 1 additions and 1 deletions
|
@ -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]" | \
|
||||
|
|
Loading…
Reference in a new issue