From ced028f87aaf032b154f731aec49cc4eeae37ee9 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Wed, 22 Apr 2026 19:51:16 +0200 Subject: [PATCH] Don't fail if headers haven't been installed --- install/config/hardware/intel/ptl-kernel.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/install/config/hardware/intel/ptl-kernel.sh b/install/config/hardware/intel/ptl-kernel.sh index cfc95e36..0e34def4 100644 --- a/install/config/hardware/intel/ptl-kernel.sh +++ b/install/config/hardware/intel/ptl-kernel.sh @@ -5,7 +5,9 @@ if omarchy-hw-intel-ptl; then echo "Detected Intel Panther Lake, installing PTL kernel..." omarchy-pkg-add linux-ptl linux-ptl-headers - sudo pacman -Rdd --noconfirm linux linux-headers 2>/dev/null || true + for pkg in linux linux-headers; do + sudo pacman -Rdd --noconfirm "$pkg" 2>/dev/null || true + done sudo mkdir -p /etc/limine-entry-tool.d cat </dev/null