summaryrefslogtreecommitdiffstats
path: root/hook/99-pacman-offline.hook
blob: 19dc366b1f535449fd03dbf9a3124d57fe42e48f (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
[Trigger]
Operation = Install
Operation = Upgrade
Operation = Remove
Type = Package
Target = *

[Action]
Description = Disabling scheduled pacman offline update...
When = PostTransaction
Exec = /bin/sh -c 'rm --force /system-update /run/systemd/system/systemd-reboot.service && systemctl daemon-reload'