From 27569d529b6e23eb79393b54cbd58a0c2a2dde98 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Fri, 13 Dec 2024 15:31:30 -0500 Subject: [PATCH] fixed the installed kernel detection. --- configure-stormux.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure-stormux.sh b/configure-stormux.sh index cd1e25a..409b606 100755 --- a/configure-stormux.sh +++ b/configure-stormux.sh @@ -126,7 +126,7 @@ while [[ "$choice" != "Exit" ]]; do "Enable Bluetooth" ) raspberryPiVersion=$(cat /sys/firmware/devicetree/base/model | cut -f-3 -d ' ') - if [[ "${raspberryPiVersion%%0*}" == "Raspberry Pi 5" ]] && [[ "$(pacman -Q linux-rpi-16k &> /dev/null)" -eq 1 ]]; then + if [[ "${raspberryPiVersion%%0*}" == "Raspberry Pi 5" ]] && ! pacman -Q linux-rpi-16k &> /dev/null ; then options+=("Install Raspberry Pi 5 kernel") fi options+=("Install Lxqt Desktop"