diff options
| author | user@node5.net <user@node5.net> | 2026-06-28 14:35:03 +0200 |
|---|---|---|
| committer | user@node5.net <user@node5.net> | 2026-06-28 14:35:03 +0200 |
| commit | 99c872bb5751c6f97421e3bbb05d146c6d398d24 (patch) | |
| tree | 9dbab4804fbc76a40e2bbb243ed47c7a6897e937 | |
| parent | c65dae22ca65d4c53d02596699be99d0b0c2a058 (diff) | |
fetch program print new program path
| -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)" |
