sysupdate: change "appstream" json prop back to "appStream"

Similar as the previous commit: the field was renamed by accident, and
we should revert to the old name to not break compat needlessly, and
because the old name actually made sense, given the underlying .transfer
file knob is AppStream=
This commit is contained in:
Lennart Poettering
2026-09-14 15:15:58 +02:00
parent f05a0cef9f
commit f0baee29b3
6 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -509,7 +509,7 @@ EOF
' <<<"$feature_json" >/dev/null
jq -e '.enabled == false' <<<"$feature_json" >/dev/null
jq -e '.suggested == false' <<<"$feature_json" >/dev/null
jq -e '.appstream == "https://example.com/optional.appstream.xml"' <<<"$feature_json" >/dev/null
jq -e '.appStream == "https://example.com/optional.appstream.xml"' <<<"$feature_json" >/dev/null
suggested_json="$("$SYSUPDATE" --json=short features suggested)"
jq -e '.id == "suggested" and .suggested == true' <<<"$suggested_json" >/dev/null