Comment 5 for bug 37435

Revision history for this message
Gary Coady (garycoady) wrote : Flush alternatives file before moving into place

This patch does the minimum required to sync the alternatives file when writing. IO::File is in perl-base, so no new dependencies.

If you think this approach is viable, I can have a look and do something similar with dpkg-statoverride and dpkg-divert, but I'll wait for comments on this first.