diff --git a/configure-stormux.sh b/configure-stormux.sh index 45bada0..eb34639 100755 --- a/configure-stormux.sh +++ b/configure-stormux.sh @@ -75,6 +75,7 @@ while [[ "$choice" != "Exit" ]]; do sudo "${sudoFlags[@]}" systemctl enable bluetooth --now ;; "Install Raspberry Pi 5 kernel") + yay -R --noconfirm linux-rpi install_package linux-rpi-16k ;; "Install Lxqt Desktop") @@ -108,7 +109,7 @@ while [[ "$choice" != "Exit" ]]; do "Configure internet" "Enable Bluetooth" ) - if [[ "$(cat /sys/firmware/devicetree/base/model | cut -f-3 -d ' ')" == "Raspberry Pi 5" ]]; then + if [[ "$(cat /sys/firmware/devicetree/base/model | cut -f-3 -d ' ')" == "Raspberry Pi 5" ]] && ! [[ "$(pacman -Q linux-rpi-16k &> /dev/null)" ]]; then options+=("Install Raspberry Pi 5 kernel") fi options+=("Install Lxqt Desktop"