From 6d66b800dc9d86235ab0139d146eb89494c482ca Mon Sep 17 00:00:00 2001 From: Kleo Bercero Date: Sat, 1 Jan 2022 19:49:36 +0800 Subject: [PATCH] Use double bracket --- dev_setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev_setup.sh b/dev_setup.sh index d73be87c0f..97209b4091 100755 --- a/dev_setup.sh +++ b/dev_setup.sh @@ -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