fix(yafti): Forgot to set get_json_array pt. 2
This commit is contained in:
parent
3af2146f36
commit
c3532b7d30
1 changed files with 1 additions and 1 deletions
|
|
@ -52,7 +52,7 @@ fi
|
||||||
|
|
||||||
YAFTI_FILE="${FIRSTBOOT_DATA}/yafti.yml"
|
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
|
if [[ ${#FLATPAKS[@]} -gt 0 ]]; then
|
||||||
echo "Adding Flatpaks to yafti.yml"
|
echo "Adding Flatpaks to yafti.yml"
|
||||||
sed -i -e '/- Boatswain for Streamdeck: com.feaneron.Boatswain/a \
|
sed -i -e '/- Boatswain for Streamdeck: com.feaneron.Boatswain/a \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue