diff --git a/changelog b/changelog index 76ca3f5..a65c5ad 100644 --- a/changelog +++ b/changelog @@ -8,6 +8,7 @@ version=3.1.3 update ham app with new build directory change pat config file location for Pat version 0.12 add pat 12 check to update script - https://github.com/km4ack/pi-build/issues/328 + fix mistake in jq command with new pat path 3.1.2 Fix FLSUITE links diff --git a/functions/additional.function b/functions/additional.function index 05d0cbc..2ac0304 100644 --- a/functions/additional.function +++ b/functions/additional.function @@ -58,7 +58,7 @@ PAT() { #This is a secutiry risk. See https://github.com/km4ack/pi-build/issues/299 #Changed to 127.0.0.1 on 11OCT2021 KM4ACK sed -i "s/\"http_addr\": \".*\",/\"http_addr\": \"127.0.0.1:$PORT\",/" ${FIG} - jq '.ax25.rig = '\"my-rig\"'' ${HOME}/.wl2k/config.json | jq '.ardop.rig = '\"my-rig\"'' | jq '.hamlib_rigs = {'\"my-rig\"': {"address": "127.0.0.1:4532", "network": "tcp"}}' >~/Desktop/config.json + jq '.ax25.rig = '\"my-rig\"'' ${FIG} | jq '.ardop.rig = '\"my-rig\"'' | jq '.hamlib_rigs = {'\"my-rig\"': {"address": "127.0.0.1:4532", "network": "tcp"}}' >~/Desktop/config.json mv ${HOME}/Desktop/config.json ${FIG} sed -i 's/"enable_http": false,/"enable_http": true,/' ${FIG}