fix: remove -y flag from yq; not in go version
This commit is contained in:
6
build.sh
6
build.sh
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user