From ad6b74f8a6520222a68d5dd75b2de0d8870fbc50 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 30 Jan 2024 15:58:48 +0100 Subject: reload daemon from hook... ... to make it aware the symlink was removed. --- 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 1228d5a..0538072 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 = /usr/bin/rm -fv /system-update /run/systemd/system/systemd-reboot.service +Exec = /bin/sh -c 'rm -fv /system-update /run/systemd/system/systemd-reboot.service && systemctl daemon-reload' -- cgit v1.2.3-70-g09d2