Skip to content

Commit

Permalink
Use enabled flag for priority change
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleGospo committed Jan 15, 2025
1 parent f9da2a3 commit 91cad84
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,10 @@ RUN --mount=type=cache,dst=/var/cache/libdnf5 \
sed -i 's@enabled=0@enabled=1@g' /etc/yum.repos.d/negativo17-fedora-multimedia.repo && \
curl -Lo /etc/yum.repos.d/negativo17-fedora-steam.repo https://negativo17.org/repos/fedora-steam.repo && \
curl -Lo /etc/yum.repos.d/negativo17-fedora-rar.repo https://negativo17.org/repos/fedora-rar.repo && \
for repo in /etc/yum.repos.d/*bazzite*; do sed -i 's@gpgcheck=1@gpgcheck=1\npriority=1@g' $repo; done && \
for repo in /etc/yum.repos.d/*terra*; do sed -i 's@gpgcheck=1@gpgcheck=1\npriority=2@g' $repo; done && \
for repo in /etc/yum.repos.d/*negativo*; do sed -i 's@gpgcheck=1@gpgcheck=1\npriority=3@g' $repo; done && \
for repo in /etc/yum.repos.d/*rpmfusion*; do sed -i 's@gpgcheck=1@gpgcheck=1\npriority=4@g' $repo; done && \
for repo in /etc/yum.repos.d/*bazzite*; do sed -i 's@enabled=1@enabled=1\npriority=1@g' $repo; done && \
for repo in /etc/yum.repos.d/*terra*; do sed -i 's@enabled=1@enabled=1\npriority=2@g' $repo; done && \
for repo in /etc/yum.repos.d/*negativo*; do sed -i 's@enabled=1@enabled=1\npriority=3@g' $repo; done && \
for repo in /etc/yum.repos.d/*rpmfusion*; do sed -i 's@enabled=1@enabled=1\npriority=4@g' $repo; done && \
/ctx/cleanup

# Install kernel
Expand Down

0 comments on commit 91cad84

Please sign in to comment.