diff options
author | Christian Hesse <mail@eworm.de> | 2024-01-30 15:58:48 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2024-01-30 16:00:16 +0100 |
commit | ad6b74f8a6520222a68d5dd75b2de0d8870fbc50 (patch) | |
tree | 1985a54223c53a7ab8c301dc6cf438fbd6ffd205 /hook/99-pacman-offline.hook | |
parent | d342ca8e078a098af40362e15c2a1becb239137e (diff) | |
download | pacman-offline-ad6b74f8a6520222a68d5dd75b2de0d8870fbc50.tar.gz pacman-offline-ad6b74f8a6520222a68d5dd75b2de0d8870fbc50.tar.zst |
reload daemon from hook...
... to make it aware the symlink was removed.
Diffstat (limited to 'hook/99-pacman-offline.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 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' |