FS#49390 - allow alpm-hooks to trigger on presence of pacnew files
Attached to Project:
Pacman
Opened by Stefan Majewsky (majewsky) - Wednesday, 18 May 2016, 20:25 GMT
Opened by Stefan Majewsky (majewsky) - Wednesday, 18 May 2016, 20:25 GMT
|
Details
I have a configuration management tool that handles .pacnew
files for me, but I need to invoke it manually after -Syu
because alpm-hooks can't trigger on pacnew files. It would
be nice to have a trigger for this, for example:
[Trigger] Operation = ConfigConflict Type = File Target = * [Action] Description = Resolve .pacnew files When = PostTransaction Exec = /usr/bin/my-config-mgmt resolve-pacnew Depends = my-config-mgmt |
This task depends upon
Operation = Install
Operation = Upgrade
Type = File
Target = *
assuming "my-config-mgmt" can handle not finding any .pacnew files.