On Tue, Jan 4, 2022 at 4:10 PM Caolán McNamara <caolanm(a)redhat.com> wrote:
On Thu, 2021-12-30 at 09:21 +0000, Zbigniew Jędrzejewski-Szmek wrote:
> On Wed, Dec 29, 2021 at 10:01:49AM -0500, Ben Cotton wrote:
> > == How To Test ==
> > 1. Check if default installed dictionary path is
> > `/usr/share/hunspell/` instead of `/usr/share/myspell/`
>
> Would it be possible to symlink /usr/share/myspell → hunspell
> so that applications which try to use the old path still work?
IIRC replacing a dir with a symlink needs special care
https://docs.fedoraproject.org/en-US/packaging-guidelines/Directory_Repla...
True, but note that the method documented in the Packaging Guidelines
no longer works either (IIRC, because DNF aborts the RPM transaction
early due to "file conflicts", as it cannot know that those would be
fixed by running the scriptlets). We'll probably need to figure out a
"modern" way to handle this scenario ...
Fabio