Re: #197870, #197891, #197954
On 22.09.03 Frank Küster (frank@kuesterei.ch) wrote:
> Hilmar Preusse <hille42@web.de> schrieb:
> > if [ -f ${etcdir}/updmap ]; then
> > db_get tetex-base/oldupdm || true
> > if [ X"$RET" = X"true" ]; then
> > rm -f ${etcdir}/updmap.dpkg-*
> > rm -f /var/lock/updmap.rm
> > fi
> > fi
> >
> > in postin. Is that OK?
>
> Looks good except the removal of /var/lock/updmap.rm - this hasn't
> been used publically, has it?
>
Of, course this is left from my misunderstanding of debconf. It
should read rm -f ${etcdir}/updmap .
> > Another question: As we use debconf in the config-stage: Do we
> > have to pre-depend in debconf
>
> No. A dependency on debconf is treated like a pre-depends. Don't
> know how this is achieved, but look at debconf-devel(7):
>
/usr/share/doc/debconf-doc/tutorial.html
Note: If your preinst uses debconf, you must make your package
Pre-Depend on debconf (>= 0.2.17).
> > or is that:
> > db_* high tetex-base/oldupdm || true
> > (asking for the exit status of db_*) sufficient?
>
> the || true has a different purpose:
>
OK, thanks.
H.
--
sigmentation fault
Reply to:
- References:
- #197870, #197891, #197954
- From: Hilmar Preusse <hille42@web.de>
- Re: #197870, #197891, #197954
- From: Atsuhito Kohda <kohda@pm.tokushima-u.ac.jp>
- Re: #197870, #197891, #197954
- Re: #197870, #197891, #197954
- From: Atsuhito Kohda <kohda@pm.tokushima-u.ac.jp>
- Re: #197870, #197891, #197954
- From: Hilmar Preusse <hille42@web.de>
- Re: #197870, #197891, #197954
- From: frank@kuesterei.ch (Frank Küster)
- Re: #197870, #197891, #197954
- From: Hilmar Preusse <hille42@web.de>
- Re: #197870, #197891, #197954
- From: frank@kuesterei.ch (Frank Küster)