Only offer bluetooth if it is not already enabled.

This commit is contained in:
Storm Dragon 2022-04-11 13:17:15 -04:00
parent b080b51283
commit e96f878d4c

View File

@ -91,7 +91,7 @@ while [[ "$choice" != "Exit" ]]; do
"Change username"
"Configure internet"
)
if [[ "${architecture}" == "aarch64" ]]; then
if [[ "$(systemctl is-active bluetooth)" == "active" ]] && [[ "${architecture}" == "aarch64" ]]; then
options+=("Enable Bluetooth")
fi
options+=("Install Lxqt Desktop"