Skip to content

Commit

Permalink
chore: actually enable gnome-vrr on f39 builds (ublue-os#581)
Browse files Browse the repository at this point in the history
  • Loading branch information
bobslept authored Oct 12, 2023
1 parent 021283a commit 403c0bf
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,13 @@ COPY image-info.sh /tmp/image-info.sh
COPY usr/etc/ublue-update/ublue-update.toml /tmp/ublue-update.toml

# GNOME VRR
RUN if grep -qv "39" <<< "${FEDORA_MAJOR_VERSION}"; then \
wget https://copr.fedorainfracloud.org/coprs/kylegospo/gnome-vrr/repo/fedora-"${FEDORA_MAJOR_VERSION}"/kylegospo-gnome-vrr-fedora-"${FEDORA_MAJOR_VERSION}".repo -O /etc/yum.repos.d/_copr_kylegospo-gnome-vrr.repo && \
RUN wget https://copr.fedorainfracloud.org/coprs/kylegospo/gnome-vrr/repo/fedora-"${FEDORA_MAJOR_VERSION}"/kylegospo-gnome-vrr-fedora-"${FEDORA_MAJOR_VERSION}".repo -O /etc/yum.repos.d/_copr_kylegospo-gnome-vrr.repo && \
if [ ${FEDORA_MAJOR_VERSION} -lt 39 ]; then \
rpm-ostree override replace --experimental --from repo=copr:copr.fedorainfracloud.org:kylegospo:gnome-vrr mutter mutter-common gnome-control-center gnome-control-center-filesystem xorg-x11-server-Xwayland \
; else \
rpm-ostree override replace --experimental --from repo=copr:copr.fedorainfracloud.org:kylegospo:gnome-vrr mutter mutter-common gnome-control-center gnome-control-center-filesystem \
; fi && \
rm -f /etc/yum.repos.d/_copr_kylegospo-gnome-vrr.repo \
; fi
rm -f /etc/yum.repos.d/_copr_kylegospo-gnome-vrr.repo

# Starship Shell Prompt
RUN curl -Lo /tmp/starship.tar.gz "https://github.com/starship/starship/releases/latest/download/starship-x86_64-unknown-linux-gnu.tar.gz" && \
Expand Down

0 comments on commit 403c0bf

Please sign in to comment.