diff --git a/build.sh b/build.sh index e23c004..590ab7a 100644 --- a/build.sh +++ b/build.sh @@ -4,7 +4,7 @@ rpm-ostree override remove firefox firefox-langpacks echo "-- Installing RPMs defined in recipe.yml --" rpm_packages=$(yq '.rpms[]' < /etc/ublue-recipe.yml) -for pkg in $rpm_packages; do \ +for pkg in $(echo -e "$rpm_packages"); do \ echo "Installing: ${pkg}" && \ rpm-ostree install $pkg; \ done @@ -17,6 +17,6 @@ pip install --prefix=/usr yafti 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 -i ".screens.applications.values.groups.Custom.packages += [{'$pkg': '$pkg'}]" /etc/yafti.yml +for pkg in $(echo -e "$flatpaks"); do \ + yq -i ".screens.applications.values.groups.Custom.packages += [{\"$pkg\": \"$pkg\"}]" /etc/yafti.yml done