Skip to content

Commit

Permalink
fix(rpm-ostree): switch wget to curl for coreos compatibility (#224)
Browse files Browse the repository at this point in the history
use curl instead of wget in rpm-ostree module so it can be used with ucore/coreos base images
  • Loading branch information
RoyalOughtness authored May 10, 2024
1 parent c3084ad commit bc0cfd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/rpm-ostree/rpm-ostree.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ if [[ ${#REPOS[@]} -gt 0 ]]; then
echo "Adding repositories"
for REPO in "${REPOS[@]}"; do
REPO="${REPO//%OS_VERSION%/${OS_VERSION}}"
wget "${REPO//[$'\t\r\n ']}" -P "/etc/yum.repos.d/"
curl --output-dir "/etc/yum.repos.d/" -O "${REPO//[$'\t\r\n ']}"
done
fi

Expand Down

0 comments on commit bc0cfd7

Please sign in to comment.