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

Why does the report bug script not work anymore ...



Hi all!

Any idea why the report bug script e.g.
	/usr/share/bug/texlive-latex-base/script
does not work anymore?

Better said, why it adds the general blabla text, but not the following
code:
for dir in $(kpsexpand '$TEXMF' | sed -e 's/,/ /g;s/[!{}]//g;'); do
  ls_R_files="$ls_R_files $(ls $dir/ls-R 2>/dev/null)";
done
ls_R_files="$ls_R_files $(ls /usr/share/texmf-texlive/ls-R 2>/dev/null)"

echo "######################################" >&3
echo " List of ls-R files" >&3
echo >&3
for file in $ls_R_files; do
  ls -l $file >&3
done

echo "######################################" >&3
echo " Config files" >&3
for i in texmf.cnf fmtutil.cnf updmap.cfg ; do
  f=$(kpsewhich --format='web2c files' $i)
  if [ -z "$f" ] ; then
    echo "Warning: $i cannot be found with kpsewhich!" >&3
  else
    ls -l $f >&3
  fi
done
for i in language.dat ; do
  if [ -z "$f" ] ; then
    echo "Warning: $i cannot be found with kpsewhich!" >&3
  else
    f=$(kpsewhich -progname=latex $i)
    ls -l $f >&3
  fi
done

echo "######################################" >&3
echo " md5sums of texmf.d" >&3
md5sums /etc/texmf/texmf.d/* >&3


Best wishes

Norbert

-------------------------------------------------------------------------------
Dr. Norbert Preining <preining@logic.at>                    Università di Siena
Debian Developer <preining@debian.org>                         Debian TeX Group
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
MUNDERFIELD (n.) A meadow selected, whilst driving past, as being
ideal for a picnic which, from a sitting position, turns out to be
full of stubble, dust and cowpats, and almost impossible to enjoy
yourself in.
			--- Douglas Adams, The Meaning of Liff



Reply to: