yafti: Forgot to set get_json_array for it

This commit is contained in:
fiftydinar 2024-12-03 12:14:11 +01:00 committed by GitHub
parent 189048b119
commit 3af2146f36
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -52,7 +52,7 @@ fi
YAFTI_FILE="${FIRSTBOOT_DATA}/yafti.yml"
get_yaml_array FLATPAKS '.custom-flatpaks[]' "$1"
get_json_array FLATPAKS '.["custom-flatpaks"][]' "${1}"
if [[ ${#FLATPAKS[@]} -gt 0 ]]; then
echo "Adding Flatpaks to yafti.yml"
sed -i -e '/- Boatswain for Streamdeck: com.feaneron.Boatswain/a \