diff --git a/bundlewrap/bundles/voctocore-artwork/files/update-schedule-and-overlays b/bundlewrap/bundles/voctocore-artwork/files/update-schedule-and-overlays index 520e268d..386313f9 100644 --- a/bundlewrap/bundles/voctocore-artwork/files/update-schedule-and-overlays +++ b/bundlewrap/bundles/voctocore-artwork/files/update-schedule-and-overlays @@ -28,7 +28,7 @@ then if [[ "$sha_old" != "$sha_new" ]] then chmod go+r "$tmpdir/schedule.json" - version="$(jq '.schedule.version' < "$tmpdir/schedule.json")" + version="$(jq -r '.schedule.version' < "$tmpdir/schedule.json")" mv "$tmpdir/schedule.json" "/opt/voc/schedule.json" voc2alert "info" "schedule" "Downloading schedule from $schedule succeeded, fahrplan version $version" fi