On Fri, 2019-03-15 at 18:09 -0500, Vincent Povirk wrote:
On Fri, Mar 15, 2019 at 5:05 PM Hans Leidekker hans@codeweavers.com wrote:
That shouldn't be needed. All they'd need to do is run the installer with MONOBASEDIR set to the desired shared directory. The first install would create it, the second would increase the reference count. Removal of the package or an upgrade would decrement the reference count.
A reference count won't work if a prefix is deleted or copied. Currently, Wine has no official tools for either task.
Deleting or copying wouldn't hurt either. If you want to delete prefixes at will without caring about the shared prefix you should store the shared directory in the first prefix. If you copy a prefix, that means the refcount could drop to zero before all users are gone. The guard against that is to run a repair.
Old versions would be left in place until all prefixes that use them are upgraded, even if the old Wine that needs them no longer exists.
No, the last upgrade would have deleted it.