summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2024-01-30 15:58:48 +0100
committerGravatar Christian Hesse <mail@eworm.de>2024-01-30 16:00:16 +0100
commitad6b74f8a6520222a68d5dd75b2de0d8870fbc50 (patch)
tree1985a54223c53a7ab8c301dc6cf438fbd6ffd205
parentd342ca8e078a098af40362e15c2a1becb239137e (diff)
downloadpacman-offline-ad6b74f8a6520222a68d5dd75b2de0d8870fbc50.tar.gz
pacman-offline-ad6b74f8a6520222a68d5dd75b2de0d8870fbc50.tar.zst
reload daemon from hook...
... to make it aware the symlink was removed.
-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 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'