diff --git a/configure-stormux.sh b/configure-stormux.sh index ef246d0..cd1e25a 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)" -eq 1 ]]; then options+=("Install Raspberry Pi 5 kernel") fi options+=("Install Lxqt Desktop"