Add pacman hook for borg backup
This commit is contained in:
parent
84b39d7ce8
commit
ccaf5f3590
1 changed files with 12 additions and 0 deletions
12
borg_backup.hook
Normal file
12
borg_backup.hook
Normal 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
|
Loading…
Add table
Reference in a new issue