fix(yafti): Forgot to set get_json_array pt. 2

This commit is contained in:
fiftydinar 2024-12-03 12:14:50 +01:00 committed by GitHub
parent 3af2146f36
commit c3532b7d30
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_json_array FLATPAKS '.["custom-flatpaks"][]' "${1}"
get_json_array FLATPAKS 'try .["custom-flatpaks"][]' "${1}"
if [[ ${#FLATPAKS[@]} -gt 0 ]]; then
echo "Adding Flatpaks to yafti.yml"
sed -i -e '/- Boatswain for Streamdeck: com.feaneron.Boatswain/a \