fix: remove -y flag from yq; not in go version

This commit is contained in:
ER
2023-04-02 12:38:06 +03:00
parent 0cf6b13b6c
commit 5a98ef6532

View File

@@ -13,9 +13,9 @@ echo "---"
pip install --prefix=/usr yafti
# add a package group for yafti using the packages defined in recipe.yml
yq -iy '.screens.applications.values.groups.Custom.description = "Flatpaks defined by the image maintainer"' /etc/yafti.yml
yq -iy '.screens.applications.values.groups.Custom.default = true' /etc/yafti.yml
yq -i '.screens.applications.values.groups.Custom.description = "Flatpaks defined by the image maintainer"' /etc/yafti.yml
yq -i '.screens.applications.values.groups.Custom.default = true' /etc/yafti.yml
flatpaks=$(yq '.flatpaks[]' < /etc/ublue-recipe.yml)
for pkg in $flatpaks; do \
yq -iy ".screens.applications.values.groups.Custom.packages += [{'$pkg': '$pkg'}]" /etc/yafti.yml \
yq -i ".screens.applications.values.groups.Custom.packages += [{'$pkg': '$pkg'}]" /etc/yafti.yml \
done