diff --git a/make-asahi-installer-package.sh b/make-asahi-installer-package.sh index 73319c0..efde903 100755 --- a/make-asahi-installer-package.sh +++ b/make-asahi-installer-package.sh @@ -89,6 +89,11 @@ popd > /dev/null openh264_rpms=$(rpmdistro-repoquery fedora "$release" gstreamer1-plugin-openh264 mozilla-openh264 openh264 --location) +if [ -e "${openh264_rpms}"]; then + extras="{}" +else + extras="$(printf '%s\n' "${openh264_rpms}" | newlineToJson)" + cat > "${package}.json" < "${package}.json" <