update/pre_backup.hook

13 lines
214 B
Plaintext

[Trigger]
Operation = Install
Operation = Upgrade
Operation = Remove
Type = Package
Target = *
[Action]
Description = Backing up the pacman db...
When = PreTransaction
Exec = /usr/local/bin/backup pre
AbortOnFail