Skip to content
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.

Commit

Permalink
fix: Don't reinstall akmods repos
Browse files Browse the repository at this point in the history
  • Loading branch information
EyeCantCU committed Oct 13, 2023
1 parent a1eb493 commit d89b610
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ COPY --from=ghcr.io/ublue-os/akmods:asus-${FEDORA_MAJOR_VERSION} /rpms /tmp/akmo

# Only run if FEDORA_MAJOR_VERSION is not 39
RUN if [ ${FEDORA_MAJOR_VERSION} -lt 39 ]; then \
rpm-ostree install /tmp/akmods-rpms/ublue-os/ublue-os-akmods-addons*.rpm && \
for REPO in $(rpm -ql ublue-os-akmods-addons|grep ^"/etc"|grep repo$); do \
echo "akmods: enable default entry: ${REPO}" && \
sed -i '0,/enabled=0/{s/enabled=0/enabled=1/}' ${REPO} \
Expand Down

0 comments on commit d89b610

Please sign in to comment.