mirror of
https://github.com/foo-dogsquared/dotfiles.git
synced 2025-02-07 12:19:02 +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]
|
[Trigger]
|
||||||
Operation = Install
|
Operation = Install
|
||||||
Operation = Upgrade
|
|
||||||
Operation = Remove
|
Operation = Remove
|
||||||
Type = Package
|
Type = Package
|
||||||
Target = *
|
Target = *
|
||||||
@ -9,4 +8,5 @@ Target = *
|
|||||||
Depends = pacman
|
Depends = pacman
|
||||||
Description = Update package list at $HOME/dotfiles/pkglist
|
Description = Update package list at $HOME/dotfiles/pkglist
|
||||||
When = PostTransaction
|
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