fixup: Write empty object if "extras" is empty

This commit is contained in:
Davide Cavalca 2023-10-12 10:36:38 -07:00
parent 402a8ff4c7
commit 547e94a238

View File

@ -93,6 +93,7 @@ if [ -e "${openh264_rpms}"]; then
extras="{}"
else
extras="$(printf '%s\n' "${openh264_rpms}" | newlineToJson)"
fi
cat > "${package}.json" <<EOF
{