Skip to content

Pacman hook with 'any' target

Hi there,
I am currently trying to install a pacman hook which has to be triggered after every pacman run where a package was installed, upgraded or removed. Is there any way to achieve this? I tried removing the Target=xxx but then pacman complains that it is missing and Target=any does not seem to work either :/

Cheers,
Hering

3 points6 comments
Open on Reddit
About this post
Posted
Archived
Score
3 · 100% up
Kind
Text
ID
81039m

Author

3
posts
31
comments
0
media
View profile

6 comments

Have you tried with a star *?

4 points

Oh.... I ... I ... am going ashamed in the cellar punishing myself now. I didn't thought about the obvious after using 'any' for the architecture. Thanks a lot.

4 points

I'm using "Target = *" for my own package. Works fine so far.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.