Skip to content

Commit

Permalink
chore: restore default rpmfusion mirror behavior (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
bsherman authored Nov 6, 2023
1 parent 15eaf49 commit 129b198
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions build-prep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,6 @@ rpm-ostree install \
https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-${RELEASE}.noarch.rpm \
fedora-repos-archive

# force use of single rpmfusion mirror
sed -i.bak 's%^metalink=%#metalink=%' /etc/yum.repos.d/rpmfusion-*.repo
sed -i 's%^#baseurl=http://download1.rpmfusion.org%baseurl=http://mirrors.ocf.berkeley.edu/rpmfusion%' /etc/yum.repos.d/rpmfusion-*.repo
# after F39 launches, bump to 40
if [[ "${FEDORA_MAJOR_VERSION}" -ge 39 ]]; then
sed -i 's%free/fedora/releases%free/fedora/development%' /etc/yum.repos.d/rpmfusion-*.repo
fi


### PREPARE CUSTOM KERNEL SUPPORT
if [[ "asus" == "${KERNEL_FLAVOR}" ]]; then
Expand Down

0 comments on commit 129b198

Please sign in to comment.