Skip to content

Commit

Permalink
paste instead of xargs
Browse files Browse the repository at this point in the history
Nonsense change, but xargs kinda felt like the wrong tool for this so I
swapped to plain posxiy paste
  • Loading branch information
samhclark committed Oct 8, 2024
1 parent dea6367 commit f803430
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ COPY microsoft-release-public-key.asc /etc/pki/rpm-gpg/microsoft-release-public-

RUN --mount=type=bind,source=packages.json,target=/packages.json,z \
rpm-ostree override remove \
$(jq -r '"--install=\(.add[].name)"' /packages.json | xargs) \
$(jq -r '.remove[].name' /packages.json | xargs) \
$(jq -r '"--install=\(.add[].name)"' /packages.json | paste -d" " -) \
$(jq -r '.remove[].name' /packages.json | paste -d" " -) \
&& systemctl enable rpm-ostreed-automatic.timer \
&& rpm-ostree cleanup --repomd

Expand Down

0 comments on commit f803430

Please sign in to comment.