Hi Neil,

On So, 10 Okt 2010, Neil Williams wrote:
> When testing d-i, if there are no info documents unpacked by the time 
> something
> calls update-info-dir, the entire d-i base install process fails.
> It would be much better if update-info-dir at least checked that
> /usr/share/info
> exists as a directory (creating it if not) and not worry about the dir file as
> it only moves it aside as dir.old anyway.

Ok, I see. We have a test there that if the INFODIR=/usr/share/info
exists:
if [ ! -d "$INFODIR" ] ; then
  echo "Not a directory: $INFODIR." >&2
  exit 1
fi
but that returns 1, so that is the reason why it fails.

But can you explain me *how* update-info-dir was called without 
that dir present and no info file installed?

It should be called only via the file/dir trigger mechanism, so I 
somehow don't understand why this is a problem, and that makes me
a bit reluctant to change the current behaviour.

Best wishes

Norbert
------------------------------------------------------------------------
Norbert Preining            prein...@{jaist.ac.jp, logic.at, debian.org}
JAIST, Japan                                 TeX Live & Debian Developer
DSA: 0x09C5B094   fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
------------------------------------------------------------------------
GLENWHILLY (n. Scots)
A small tartan pouch worn beneath the kilt during the thistle-harvest.
                        --- Douglas Adams, The Meaning of Liff



-- 
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