I would like to be warned against an update to a particular package on arch linux using pacman.
I use some custom information in the header files for gcc-libs. But every time gcc-libs gets updated, these custom changes are reverted to factory default. These are not very difficult changes so I can repeat them every time they revert to factory defaults.
But I would like to have a warning every time that the package is going to be upgraded.
Eg, make an edit in /etc/pacman.conf. There is a field IgnorePkg and IgnoreGroup, but I don't want to ignore the update to the gcc-libs package. Any ways use of IgnorePkg and IgnoreGroup is discouraged.
I just want to be notified about an update to gcc-libs. I know before upgrading it asks your permission [Y/n], but is it possible to give a warning in yellow or something like that.