[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#368411: tex-common keeps asking the question about group on each upgrade



On Mon, 22 Mai 2006, Frank Küster wrote:
> > on each upgrade of the tex-common package, i'm being asked the same
> > question over and over again: "Group that should own the TeX font cache"?
> > It seems that the answer is not properly remembered by the configuration.
> 
> I've noticed that, too.  I thought I had properly catered for the
> renaming:
> 
> # The groupname question has been split up, but it need not be shown again
> db_fget tex-common/groupname seen || true
> if [ "$RET" = true ]; then
>  db_fset tex-common/groupname_single seen true || true
>  db_fset tex-common/groupname_multi seen true || true
> fi
> db_unregister tex-common/groupname || true

Although we should check here for groupname_singe and _multi, too, I
don't believe this is the cause of the problem. More like this

    while true; do
      db_input $cache_debconf_priority tex-common/groupname_$groupname_variant || true
      db_go || true

We should check before whether this question has been seen or not...

So it should be

while true; do
      db_fget tex-common/groupname_$groupname_variant seen || true
      if [ "$RET" = false ] ; then
        db_input $cache_debconf_priority tex-common/groupname_$groupname_variant || true
        db_go || true
      fi

I check in the respective changes.

Best wishes

Norbert

-------------------------------------------------------------------------------
Dr. Norbert Preining <preining AT logic DOT at>             Università di Siena
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
ALBUQUERQUE (n.)
A shapeless squiggle which is utterly unlike your normal signature,
but which is, nevertheless, all you are able to produce when asked
formally to identify yourself. Muslims, whose religion forbids the
making of graven images, use albuquerques to decorate their towels,
menu cards and pyjamas.
			--- Douglas Adams, The Meaning of Liff



Reply to: