Use double bracket

pull/3060/head
Kleo Bercero 2022-01-01 19:49:36 +08:00
parent 3d963cee40
commit 6d66b800dc
1 changed files with 1 additions and 1 deletions

View File

@ -468,7 +468,7 @@ function install_venv() {
install_deps
# It's later. Update existing config with jq.
if [ $disable_precise_later == true ]; then
if [[ $disable_precise_later == true ]]; then
$SUDO bash -c 'jq ". + { \"use_precise\": false }" /etc/mycroft/mycroft.conf > tmp.mycroft.conf'
$SUDO mv -f tmp.mycroft.conf /etc/mycroft/mycroft.conf
fi