mirror of
https://github.com/foo-dogsquared/dotfiles.git
synced 2025-01-30 22:57:54 +00:00
Update pacman hooks
This commit is contained in:
parent
36bd17923b
commit
2d56ab9509
13
pacman/hooks/10-pacman-full-upgrade.hook
Normal file
13
pacman/hooks/10-pacman-full-upgrade.hook
Normal file
@ -0,0 +1,13 @@
|
||||
[Trigger]
|
||||
Operation = Install
|
||||
Operation = Upgrade
|
||||
Operation = Remove
|
||||
Type = Package
|
||||
Target = *
|
||||
|
||||
[Action]
|
||||
Depends = pacman
|
||||
Description = Do a system sync first before doing any operations
|
||||
When = PostTransaction
|
||||
Exec = /usr/bin/pacman -Syu
|
||||
|
@ -1,6 +1,5 @@
|
||||
[Trigger]
|
||||
Operation = Install
|
||||
Operation = Upgrade
|
||||
Operation = Remove
|
||||
Type = Package
|
||||
Target = *
|
||||
@ -9,4 +8,5 @@ Target = *
|
||||
Depends = pacman
|
||||
Description = Update package list at $HOME/dotfiles/pkglist
|
||||
When = PostTransaction
|
||||
Exec = /usr/bin/pacman -Qqne >> ~/dotfiles/pkglist.txt
|
||||
Exec = /bin/sh /usr/local/bin/create-pacman-pkglist.sh
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user