13 lines
299 B
Plaintext
13 lines
299 B
Plaintext
[Trigger]
|
|
Operation = Remove
|
|
Type = Package
|
|
Target = *
|
|
|
|
[Action]
|
|
Description = Create ZFS snapshot on active system dataset
|
|
When = PreTransaction
|
|
Exec = /bin/sh -c 'while read -r f; do echo "$f"; done | /usr/local/bin/pacman-zfs-snapshot remove'
|
|
Depends = zfs-auto-snapshot
|
|
AbortOnFail
|
|
NeedsTargets
|