Files
dotfiles/pacman/hooks/95-backup-boot.hook
2025-08-13 21:46:48 +02:00

12 lines
221 B
Plaintext

[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