11 lines
369 B
Text
11 lines
369 B
Text
[Trigger]
|
|
Type = Package
|
|
Operation = Install
|
|
Operation = Upgrade
|
|
Operation = Remove
|
|
Target = *
|
|
|
|
[Action]
|
|
Description = Create a backup list of all installed packages
|
|
When = PostTransaction
|
|
Exec = /bin/sh -c "pacman -Qme | awk '{ print $1 }' > /home/matt/.config/pacman/aur-packages.txt && pacman -Qne | awk '{ print $1 }' > /home/matt/.config/pacman/arch-packages.txt"
|