From bcb33b5d97bdcf2f0d37c42433b27096cce7483b Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Thu, 12 Sep 2024 09:16:27 +0200 Subject: use pacman-offline to abort in hook --- hook/99-pacman-offline.hook | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hook/99-pacman-offline.hook b/hook/99-pacman-offline.hook index 9c4f456..4aa3d6e 100644 --- a/hook/99-pacman-offline.hook +++ b/hook/99-pacman-offline.hook @@ -8,4 +8,4 @@ Target = * [Action] Description = Disabling scheduled pacman offline update... When = PostTransaction -Exec = /bin/sh -c 'rm --force /system-update /run/systemd/system/systemd-poweroff.service /run/systemd/system/systemd-reboot.service && systemctl daemon-reload' +Exec = /usr/bin/pacman-offline -a -- cgit v1.2.3-70-g09d2