Another attempt at removing 16k if already installed.
This commit is contained in:
parent
a059cbe015
commit
7026da6e73
@ -109,7 +109,7 @@ while [[ "$choice" != "Exit" ]]; do
|
|||||||
"Configure internet"
|
"Configure internet"
|
||||||
"Enable Bluetooth"
|
"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")
|
options+=("Install Raspberry Pi 5 kernel")
|
||||||
fi
|
fi
|
||||||
options+=("Install Lxqt Desktop"
|
options+=("Install Lxqt Desktop"
|
||||||
|
Loading…
Reference in New Issue
Block a user