From e4381eba9cf81a4e57076f64b5f4fe60bf33418f Mon Sep 17 00:00:00 2001 From: sebanc Date: Wed, 8 Jan 2025 20:11:39 +0100 Subject: [PATCH] Update Surface patches install for Fedora and Nobara --- linuxloops | 34 ++++++++++++---------------------- 1 file changed, 12 insertions(+), 22 deletions(-) diff --git a/linuxloops b/linuxloops index 9328cc0..dffbf07 100755 --- a/linuxloops +++ b/linuxloops @@ -15663,7 +15663,7 @@ if [ ! -z "${surface_remove}" ]; then pacman -Rsc --noconfirm ${surface_remove}; pacman -S --noconfirm --needed linux-surface linux-surface-headers iptsd libcamera libcamera-tools gst-plugin-libcamera base-devel git fakeroot v4l2loopback-dkms usermod -aG video '${useraccount_name}' SURFACEPACMAN -elif [ "${distribution}" == "Fedora" ]; then +elif [ "${distribution}" == "Fedora" ] || [ "${distribution}" == "Nobara" ]; then cat >"${bootstrapdir}"/tmp/linuxloops/install_surface <"${bootstrapdir}"/tmp/linuxloops/install_surface <>/boot/linuxloops/reinstall-bootloader < /dev/null)" ]; then echo "Warning: The bootloader is not installed in the removable path."; fi if [ -z "\$(find /boot/efi/EFI/"${bootloader_id}"/"${bootloader_name}" 2> /dev/null)" ]; then echo "The bootloader is not correctly installed"; exit 1; fi INSTALLEFI