chore: Disable XDG workaround on Fedora 39 and newer

This commit is contained in:
Kyle Gospodnetich 2023-10-20 14:46:53 -07:00
parent d5af1e0e64
commit caf4a9eaa3

View File

@ -130,7 +130,9 @@ RUN if grep -q "kinoite" <<< "${BASE_IMAGE_NAME}"; then \
kpackagetool5 --type=Plasma/Wallpaper --global --install /tmp/wallpaper-engine-kde-plugin/plugin && \
rm -rf /tmp/kwin-system76-scheduler-integration && \
rm -rf /tmp/wallpaper-engine-kde-plugin && \
sed -i 's@After=plasma-core.target@After=plasma-core.target\nAfter=xdg-desktop-portal.service@g' /usr/lib/systemd/user/plasma-xdg-desktop-portal-kde.service \
if [[ "${FEDORA_MAJOR_VERSION}" -lt "39" ]]; then \
sed -i 's@After=plasma-core.target@After=plasma-core.target\nAfter=xdg-desktop-portal.service@g' /usr/lib/systemd/user/plasma-xdg-desktop-portal-kde.service \
; fi \
; else \
if [[ "${FEDORA_MAJOR_VERSION}" -lt "39" ]]; then \
rpm-ostree override replace \