Historical bug tracker for the Pacman package manager.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
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
|
DetailsI 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.