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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user