From 98374b082636ec9584ad1a5cc5768d26f28aec30 Mon Sep 17 00:00:00 2001 From: kunsi Date: Sat, 21 Sep 2024 11:14:23 +0200 Subject: [PATCH] bw/bundles/voctocore-artwork: do not put quotes around schedule version --- .../voctocore-artwork/files/update-schedule-and-overlays | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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