Ensure valid conditional syntax

This commit is contained in:
David Heinemeier Hansson
2025-06-28 11:38:20 -07:00
parent f1679ba142
commit 682b60b087

View File

@ -1,6 +1,7 @@
# Turn on bluetooth service so blueberry works out the box # Turn on bluetooth service so blueberry works out the box
if systemctl is-enabled --quiet bluetooth.service && systemctl is-active --quiet bluetooth.service; then if systemctl is-enabled --quiet bluetooth.service && systemctl is-active --quiet bluetooth.service; then
# Bluetooth is already enabled, nothing to change # Bluetooth is already enabled, nothing to change
:
else else
echo "Let's turn on Bluetooth service so the controls work" echo "Let's turn on Bluetooth service so the controls work"
sudo systemctl enable --now bluetooth.service sudo systemctl enable --now bluetooth.service