On 22/02/16 12:46, Andrew Gregory wrote: > Relying on localdb to determine which trigger operations should match is > completely broken for PostTransaction hooks because the localdb has > already been updated. Store a copy of the old version of any packages > being updated to use instead. > > Fixes FS#47996 > > Signed-off-by: Andrew Gregory <[email protected]>
OK. <snip> > + _alpm_pkg_free(pkg->oldpkg); I was very surprised that was not public!
