Bug#592616: pu: package bgoffice/3.0-9+lenny1
On Wed, Aug 18, 2010 at 02:39:04PM +0100, Julien Cristau wrote:
> On Wed, Aug 18, 2010 at 16:30:56 +0300, Yavor Doganov wrote:
> > These files are supposed to be regenerated in postinst by
> > update-dictcommon-aspell; that's a feature.
> >
> Then why is it shipped in the package? Is it just so that dpkg removes
> it automatically?
That's the sole reason, yes. From aspell-autobuildhash(8):
| Dictionaries-common scripts will call internally this script and
| create a single hash file at /var/lib/ispell/$lang.rws, or hash files
| at /var/lib/ispell/$subdict.rws. You must set a symlink to that files
| from /usr/lib/aspell/$lang.rws or /usr/lib/aspell/$subdict.rws as
| appropriate. You are also suggested to create empty files at
| /var/lib/aspell/$lang.rws or for all of the
| /var/lib/aspell/$subdict.rws in the install target of your package
| build process. This empty file will be overwritten when the real hash
| is created, but will make the hash be removed at package removal
| without any magic being done in the postrm and will also help to keep
| track about which package owns that file.
Reply to: