tags 398387 patch thanks Lucas Nussbaum <[EMAIL PROTECTED]> wrote:
> Setting up latex-hangul-ucs-hlatex (3.1.1-2) ... > /var/lib/dpkg/info/latex-hangul-ucs-hlatex.postinst: line 5: mktexlsr: > command not found > dpkg: error processing latex-hangul-ucs-hlatex (--configure): > subprocess post-installation script returned error exit status 127 > Errors were encountered while processing: > latex-hangul-ucs-hlatex > E: Sub-process /usr/bin/dpkg returned an error code (1) The other maintainer scripts of this and other binary packages seem to be safe. Here's a patch: diff -Nur latex-hangul-ucs-3.1.1.old/debian/changelog latex-hangul-ucs-3.1.1/debian/changelog --- latex-hangul-ucs-3.1.1.old/debian/changelog 2006-11-13 20:04:45.000000000 +0100 +++ latex-hangul-ucs-3.1.1/debian/changelog 2006-11-13 20:08:00.000000000 +0100 @@ -1,3 +1,12 @@ +latex-hangul-ucs (1:3.1.1-3) unstable; urgency=low + + * In the postinst script of latex-hangul-ucs-hlatex, check for + mktexlsr's existence before calling it, since the package does not + depend on texlive-base-bin or tetex-bin. Thanks to Lucas Nussbaum + <[EMAIL PROTECTED]> and the grid5000 project. + + -- Frank Küster <[EMAIL PROTECTED]> Mon, 13 Nov 2006 20:08:00 +0100 + latex-hangul-ucs (1:3.1.1-2) unstable; urgency=low * Remove /etc/texmf/texmf.d/55UnFonts.cnf to prevent overriding common TeX diff -Nur latex-hangul-ucs-3.1.1.old/debian/latex-hangul-ucs-hlatex.postinst latex-hangul-ucs-3.1.1/debian/latex-hangul-ucs-hlatex.postinst --- latex-hangul-ucs-3.1.1.old/debian/latex-hangul-ucs-hlatex.postinst 2006-11-13 20:04:45.000000000 +0100 +++ latex-hangul-ucs-3.1.1/debian/latex-hangul-ucs-hlatex.postinst 2006-11-13 20:03:55.000000000 +0100 @@ -2,7 +2,9 @@ set -e if [ "$1" = "configure" ]; then - mktexlsr + if which mktexlsr >/dev/null; then + mktexlsr + fi fi #DEBHELPER# Regards, Frank -- Dr. Frank Küster Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich Debian Developer (teTeX/TeXLive)

