On Wed, 25 Sep 2019, Sam Hartman wrote: > Thorsten> dpkg-divert also has a small period in which neither is > Thorsten> available. I don’t like this approach. > > Is that only when adding a diversion or when upgrading a diverted file > each time?
When adding a diversion. dpkg-divert is smart enough that, when the prerm does NOT remove the diversion (e.g. if you have it in postrm instead), when the postinst adds it to make that to a nop. bye, //mirabilos -- tarent solutions GmbH Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/ Tel: +49 228 54881-393 • Fax: +49 228 54881-235 HRB 5168 (AG Bonn) • USt-ID (VAT): DE122264941 Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg