From 160ac6a667e521c918830d70473fab69e5510346 Mon Sep 17 00:00:00 2001 From: oliverpool Date: Wed, 23 Mar 2022 20:49:32 +0100 Subject: [PATCH] switch to bullseye kernel --- cmd/check-update/main.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cmd/check-update/main.go b/cmd/check-update/main.go index 49d9f6d..8100d59 100644 --- a/cmd/check-update/main.go +++ b/cmd/check-update/main.go @@ -21,7 +21,7 @@ func main() { } const baseURL = "https://archive.raspberrypi.org/debian/" -const packagesURL = baseURL + "dists/buster/main/binary-armhf/Packages" +const packagesURL = baseURL + "dists/bullseye/main/binary-armhf/Packages" func run() error { log.Println("checking:", packagesURL) @@ -48,7 +48,8 @@ func run() error { if !found { after = before } - tagName, _, _ := strings.Cut(after, "~") + tagName, _, _ := strings.Cut(after, "-") + tagName, _, _ = strings.Cut(after, "~") log.Println("latest version:", tagName)