Don't print final JSON_STRING
This commit is contained in:
parent
8482ac2af7
commit
fcc426e0ac
1 changed files with 1 additions and 1 deletions
|
@ -11,5 +11,5 @@ JSON_STRING=$(echo "$JSON_STRING" | jq '.extensionsGallery.cacheUrl = $newVal' -
|
|||
JSON_STRING=$(echo "$JSON_STRING" | jq '.extensionsGallery.itemUrl = $newVal' --arg newVal "$ITEM_URL")
|
||||
JSON_STRING=$(echo "$JSON_STRING" | jq 'del(.linkProtectionTrustedDomains)')
|
||||
sudo cp $PRODUCT_JSON $PRODUCT_JSON.bkup
|
||||
echo "$JSON_STRING" | jq . | sudo tee $PRODUCT_JSON
|
||||
echo "$JSON_STRING" | jq . | sudo tee $PRODUCT_JSON > /dev/null
|
||||
|
||||
|
|
Loading…
Reference in a new issue