diff options
author | Christian Hesse <mail@eworm.de> | 2024-09-12 09:16:27 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2024-09-12 10:39:59 +0200 |
commit | bcb33b5d97bdcf2f0d37c42433b27096cce7483b (patch) | |
tree | cbbd2f6c2900aca38ca4c588208cfcd45c8ab891 | |
parent | 55ab599accfc6eaf1894f715b49457116d8cde5c (diff) | |
download | pacman-offline-bcb33b5d97bdcf2f0d37c42433b27096cce7483b.tar.gz pacman-offline-bcb33b5d97bdcf2f0d37c42433b27096cce7483b.tar.zst |
use pacman-offline to abort in hook
-rw-r--r-- | hook/99-pacman-offline.hook | 2 |
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 |