>>>>> On Sat, 11 Apr 2020, Marek Szuba wrote: > I have tried doing this in pkg_preinst but alas, I have found out > collision checks are performed before that function is invoked. I have > also tried setting COLLISION_IGNORE in the replacing package but it > seems that variable only works in make.conf and make.defaults - in which > case it's simpler to simply tell the users to delete those symlinks.
A possible (but somewhat hackish) approach would be to move the files to a different name in src_install, and move them back to their original name in pkg_preinst. Ulrich
signature.asc
Description: PGP signature