KDE Neon: hack must be implemented only on Ubuntu Noble / Oracular

This commit is contained in:
Igor Pecovnik
2024-08-19 12:28:27 +02:00
committed by Igor
parent 4ffe5bc52f
commit 9760ad0096

View File

@@ -153,13 +153,18 @@ function post_install_kernel_debs__3d() {
do_with_retries 3 chroot_sdcard_apt_get_install "${pkgs[@]}"
# This library gets downgraded
do_with_retries 3 chroot_sdcard apt-mark hold libdav1d7
if [[ "${RELEASE}" =~ ^(oracular|noble)$ ]]; then
do_with_retries 3 chroot_sdcard apt-mark hold libdav1d7
fi
display_alert "Upgrading Mesa packages" "${EXTENSION}" "info"
do_with_retries 3 chroot_sdcard_apt_get dist-upgrade
# KDE neon downgrade hack undo
do_with_retries 3 chroot_sdcard apt-mark unhold base-files libdav1d7
do_with_retries 3 chroot_sdcard apt-mark unhold base-files
if [[ "${RELEASE}" =~ ^(oracular|noble)$ ]]; then
do_with_retries 3 chroot_sdcard apt-mark unhold libdav1d7
fi
# Disable wayland flag for XFCE
#if [[ "${DESKTOP_ENVIRONMENT}" == "xfce" ]]; then