aboutsummaryrefslogtreecommitdiff
path: root/scripts/testing/tests/test_desktop.py
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-07-18 19:46:05 -0500
committerCraig Jennings <c@cjennings.net>2026-07-18 19:46:05 -0500
commit80017365527b612ca8763b29c5771fc41d58def5 (patch)
treebd38eb5586a84dc22c55b502ca8b8caecf734f97 /scripts/testing/tests/test_desktop.py
parentbea3010992ba56f5b248638be6db78ff0b9132bb (diff)
downloadarchsetup-80017365527b612ca8763b29c5771fc41d58def5.tar.gz
archsetup-80017365527b612ca8763b29c5771fc41d58def5.zip
fix: order pacman safety hooks
Install snapshot and live-update hooks before mkinitcpio removal, migrate legacy paths, and cover the ordering invariant.
Diffstat (limited to 'scripts/testing/tests/test_desktop.py')
-rw-r--r--scripts/testing/tests/test_desktop.py2
1 files changed, 1 insertions, 1 deletions
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"