aboutsummaryrefslogtreecommitdiff
path: root/pacman_bootbackup
blob: 48d37db68599c9b121715af2ade6f5d87b365b45 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# /etc/pacman.d/hooks/95-bootbackup.hook
[Trigger]
Operation = Upgrade
Operation = Install
Operation = Remove
Type = Path
Target = usr/lib/modules/*/vmlinuz

[Action]
Depends = rsync
Description = Backing up /boot...
When = PostTransaction
Exec = /usr/bin/rsync -a --delete /boot /.bootbackup