setup-cockpit/pacman_hooks/borg_backup.hook

12 lines
300 B
Text

[Trigger]
Operation = Install
Operation = Upgrade
Operation = Remove
Type = Package
Target = *
[Action]
Description = Run an update_to_lime2 script before every pacman transaction
When = PreTransaction
Exec = /bin/sh /home/flyingscorpio/SetupCockpit/pacman_hooks/arch-desktop_borg.sh
Depends = borg