fixup: Write empty object if "extras" is empty
This commit is contained in:
parent
402a8ff4c7
commit
547e94a238
@ -93,6 +93,7 @@ if [ -e "${openh264_rpms}"]; then
|
||||
extras="{}"
|
||||
else
|
||||
extras="$(printf '%s\n' "${openh264_rpms}" | newlineToJson)"
|
||||
fi
|
||||
|
||||
cat > "${package}.json" <<EOF
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user