reopen 618398
thanks

2011/3/16 Robert Luberda <rob...@debian.org>:
> Agustin Martin pisze:
>> Hi, Robert, thanks for debugging,
>>
>> I have moved ispell-autobuildhash call at update-default-ispell before the
>> symlinking step. I'd expect this to also fix the problem.
>>
>
> Thanks, but unfortunately it doesn't work. ispell-autobuildhash seems to
> do nothing  when called within maintainer scripts without --force or
> --triggered:
>
>
>  unless ( $triggered or $force ){
>   exit if dico_activate_trigger("ispell-autobuildhash");
>  }
>

The problem is that I forgot that I triggerized ispell-autobuildhash.

Above code enables ispell-autobuildhash trigger when run under dpkg
control and runs normally otherwise (also if --triggered or --force).
The problem is that ispell-autobuildhash trigger is run after all
ispell dicts postinsts. Since symlink setting is currently done from
ispell dicts postinsts the problem is still present, so I am reopening
the bug report.

I also noticed this last night and was thinking about possible ways to
deal with this, one is doing as you suggested, but I'd prefer to put
as little extra stuff as possible in maintainer scripts. The other is
to also triggerize update-default-ispell, so in the real run symlink
is set after ispell-autobuildhash real run. I do not expect this to
affect the removal scripts, so this is currently my favorite choice,
but I have to think a bit more about this.

Note that this problem only becomes present when using new auto-compat
feature. I still did not announce it to dict-common-dev mailing list,
and was waiting  until I find it reasonably solid. I am however happy
that you are using it, so testing codebase is higher.

Let me a couple of days to think about this. Expect a new upload soon.

Thanks for your feedback,

-- 
Agustin



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to