Use double bracket
parent
3d963cee40
commit
6d66b800dc
|
@ -468,7 +468,7 @@ function install_venv() {
|
||||||
install_deps
|
install_deps
|
||||||
|
|
||||||
# It's later. Update existing config with jq.
|
# 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 bash -c 'jq ". + { \"use_precise\": false }" /etc/mycroft/mycroft.conf > tmp.mycroft.conf'
|
||||||
$SUDO mv -f tmp.mycroft.conf /etc/mycroft/mycroft.conf
|
$SUDO mv -f tmp.mycroft.conf /etc/mycroft/mycroft.conf
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue