fix(framework): Don't remove non-existant power profiles daemon

Framework images replace power profiles daemon
This commit is contained in:
RJ Trujillo 2023-11-29 16:18:06 -07:00 committed by Kyle Gospodnetich
parent b6e3805871
commit 1bcd93c9d8

View File

@ -178,8 +178,11 @@ RUN rpm-ostree override remove \
ublue-os-update-services \ ublue-os-update-services \
firefox \ firefox \
firefox-langpacks \ firefox-langpacks \
htop \ htop && \
power-profiles-daemon if ! [[ "${IMAGE_FLAVOR}" =~ "framework" ]]; then \
rpm-ostree override remove \
power-profiles-daemon \
; fi
# Install new packages # Install new packages
RUN rpm-ostree install \ RUN rpm-ostree install \