From 5a98ef653293d5d3a9b4f0920d3625291a93601a Mon Sep 17 00:00:00 2001 From: ER Date: Sun, 2 Apr 2023 12:38:06 +0300 Subject: [PATCH] fix: remove -y flag from yq; not in go version --- build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.sh b/build.sh index a50e52634d..b09bee60b8 100644 --- a/build.sh +++ b/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