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