Add pacman hook for borg backup

This commit is contained in:
flyingscorpio@arch-desktop 2020-08-03 18:02:05 +02:00
parent 84b39d7ce8
commit ccaf5f3590

12
borg_backup.hook Normal file
View file

@ -0,0 +1,12 @@
[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/arch-desktop_borg.sh
Depends = borg