Another attempt at removing 16k if already installed.

This commit is contained in:
Storm Dragon 2024-02-22 01:53:27 -05:00
parent a059cbe015
commit 7026da6e73

View File

@ -109,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" ]] && ! [[ "$(pacman -Q linux-rpi-16k &> /dev/null)" ]]; then
if [[ "$(cat /sys/firmware/devicetree/base/model | cut -f-3 -d ' ')" == "Raspberry Pi 5" ]] && [[ "$(pacman -Q linux-rpi-16k &> /dev/null)" -eq 1 ]]; then
options+=("Install Raspberry Pi 5 kernel")
fi
options+=("Install Lxqt Desktop"