Jake Howard
e421657619
Yes it's weird to modify the system package like this, but it's very handy. See also https://restic.readthedocs.io/en/stable/080_examples.html#backing-up-your-system-without-running-restic-as-root
9 lines
187 B
Text
9 lines
187 B
Text
[Trigger]
|
|
Operation = Upgrade
|
|
Type = Package
|
|
Target = restic
|
|
|
|
[Action]
|
|
Description = Set restic binary permissions
|
|
When = PostTransaction
|
|
Exec = /usr/share/libalpm/scripts/restic-post.sh
|