From 80017365527b612ca8763b29c5771fc41d58def5 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sat, 18 Jul 2026 19:46:05 -0500 Subject: fix: order pacman safety hooks Install snapshot and live-update hooks before mkinitcpio removal, migrate legacy paths, and cover the ordering invariant. --- scripts/testing/tests/test_desktop.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/testing/tests/test_desktop.py') diff --git a/scripts/testing/tests/test_desktop.py b/scripts/testing/tests/test_desktop.py index 6f79bfd..468bc75 100644 --- a/scripts/testing/tests/test_desktop.py +++ b/scripts/testing/tests/test_desktop.py @@ -56,7 +56,7 @@ def test_live_update_guard_installed(host, hyprland_installed): guard = host.file("/usr/local/bin/hypr-live-update-guard") assert guard.exists, "live-update guard script missing" assert guard.mode & 0o111, "live-update guard not executable" - hook = host.file("/etc/pacman.d/hooks/hypr-live-update-guard.hook") + hook = host.file("/etc/pacman.d/hooks/10-hypr-live-update-guard.hook") assert hook.exists, "live-update guard pacman hook missing" assert "hypr-live-update-guard" in hook.content_string, \ "hook does not invoke the guard script" -- cgit v1.2.3