summaryrefslogtreecommitdiffstats
path: root/hook
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2024-09-12 09:16:27 +0200
committerGravatar Christian Hesse <mail@eworm.de>2024-09-12 10:39:59 +0200
commitbcb33b5d97bdcf2f0d37c42433b27096cce7483b (patch)
treecbbd2f6c2900aca38ca4c588208cfcd45c8ab891 /hook
parent55ab599accfc6eaf1894f715b49457116d8cde5c (diff)
downloadpacman-offline-bcb33b5d97bdcf2f0d37c42433b27096cce7483b.tar.gz
pacman-offline-bcb33b5d97bdcf2f0d37c42433b27096cce7483b.tar.zst
use pacman-offline to abort in hook
Diffstat (limited to 'hook')
-rw-r--r--hook/99-pacman-offline.hook2
1 files changed, 1 insertions, 1 deletions
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