diff options
| -rwxr-xr-x | fetch_program.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fetch_program.sh b/fetch_program.sh index 91684ac..a87d156 100755 --- a/fetch_program.sh +++ b/fetch_program.sh @@ -24,8 +24,6 @@ if [ -f "$last_xml" ]; then fi fi -echo 'New program content fetched' - cat "$xml_path" | xq '.schedule.day | map(.room) | flatten | map(.event) | map(select(. != null)) | flatten | map({title, date, room, duration}) | sort_by(.date)' > "$json_path" if [ -f "$last_json" ]; then @@ -35,3 +33,5 @@ fi ln -sfr "$json_path" programs/current.json +echo 'New program content fetched' +echo "programs/current.json -> programs/$(readlink programs/current.json)" |
