summaryrefslogtreecommitdiffstats
path: root/hook/99-pacman-offline.hook
blob: 9c4f456465b165934fba127972106f0b44c31fc1 (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-poweroff.service /run/systemd/system/systemd-reboot.service && systemctl daemon-reload'