From 547e94a2380bb21d60e05a2c7dc0d0916c8984df Mon Sep 17 00:00:00 2001 From: Davide Cavalca Date: Thu, 12 Oct 2023 10:36:38 -0700 Subject: [PATCH] fixup: Write empty object if "extras" is empty --- make-asahi-installer-package.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/make-asahi-installer-package.sh b/make-asahi-installer-package.sh index efde903..189f8a2 100755 --- a/make-asahi-installer-package.sh +++ b/make-asahi-installer-package.sh @@ -93,6 +93,7 @@ if [ -e "${openh264_rpms}"]; then extras="{}" else extras="$(printf '%s\n' "${openh264_rpms}" | newlineToJson)" +fi cat > "${package}.json" <