init
This commit is contained in:
11
pacman/hooks/50-pacman-list.hook
Normal file
11
pacman/hooks/50-pacman-list.hook
Normal file
@@ -0,0 +1,11 @@
|
||||
[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"
|
||||
Reference in New Issue
Block a user