Skip to content

Commit

Permalink
yafti: Forgot to set get_json_array for it
Browse files Browse the repository at this point in the history
  • Loading branch information
fiftydinar authored Dec 3, 2024
1 parent 189048b commit 3af2146
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/yafti/yafti.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 3af2146

Please sign in to comment.