From 47b56bf09a715d3e7c7d021e3c4d9d1920751c0c Mon Sep 17 00:00:00 2001 From: Thorsten Spille Date: Sun, 20 Mar 2022 16:35:47 +0100 Subject: [PATCH] Update setup-nasbeery --- setup-nasbeery | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/setup-nasbeery b/setup-nasbeery index 94137ed..03985d1 100644 --- a/setup-nasbeery +++ b/setup-nasbeery @@ -100,6 +100,10 @@ DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical sudo apt -y -qq -o DPkg: echo "Detecting Architecture" if [[ $(dpkg --get-selections | grep -m1 "raspberrypi-kernel") ]]; then headers="raspberrypi-kernel-headers" +elif [[ $(dpkg --get-selections | grep -E -m1 "linux-image-current-meson64") ]]; then + headers="linux-headers-current-meson64" +elif [[ $(dpkg --get-selections | grep -E -m1 "linux-image-edge-meson64") ]]; then + headers="linux-headers-edge-meson64" elif [[ $(dpkg --get-selections | grep -m1 "linux-image-amd64") ]]; then headers="linux-headers-amd64" fi