> > > #! /bin/sh > > > set -e > > > . /usr/share/debconf/confmodule > > > > > > > Only that? > > It is a dummy package to ease the transition from dict-web1913 to > dict-gcide. The postinst was only added to try make debconf work from > dpkg -i. >
Looking at the files on master, I think I know the problem. The quick
fix is to call db_get dict-web1913/reconf in your postinst. Also,
since config might be called at preinst time, it might not be a good
idea to check the filesystem. So I'd put the db_input and db_go lines
into the config, and move the check to the postinst, like this:
if ! grep -q "^include /var/lib/dictd/db.list" /etc/dictd.conf
then
db_get dict-web1913/reconf
fi
> The default conf file distributed with dictd includes an include
> statement that reads a configuration file that is automatically
> generated whenever a new dictionary is installed. This note is only
> displayed if the user has made his own conf file without the include
> statement. The note is a warning that dictd will not run until the
> config file is changed. I have had a bug report filed for not
> notifying the user that his conf file won't work.
Ah, ok.
> I have re-built the package several times. If I use the -i
> switch to debuild, I get that mesage from lintian. If I use debuild
> without the switch, I don't get that lintian message.
>
> After the last build, which didn't give that message, I ran
> lintian on the .changes file and got the message:
>
> E: dict-gcide source: build-depends-without-arch-dep
>
> which seems strange. It is an Architecture: all package, and does
> have Build-Depends-Indep:.
>
/me blames lintian. From a quick look, the control file looks fine to
me.
pgpsXthUk24J5.pgp
Description: PGP signature

