dotfiles/.config/pacman/hooks/95-backup-boot.hook
Sergio Laín dd26468a9c
feat(pacman): new hooks
restart daemons, orphans name changed and new backup boot when new kernel update
2023-11-03 23:40:13 +01:00

11 lines
221 B
Text

[Trigger]
Operation = Upgrade
Operation = Install
Operation = Remove
Type = Package
Target = linux
[Action]
Description = Backing up /boot...
When = PreTransaction
Exec = /usr/bin/rsync -avzq --delete /boot /.bootbackup