retitle 431964 tex4ht.env is not found
tags 431964 = confirmed patch 
thanks

Hello,

On Mon, 06 Aug 2007, Kapil Hari Paranjape wrote:
> I seem to recall having a perfectly working version of "tex4ht" when
> my system had only "tetex" and no "texlive" packages at all.

The problem is that "tex4ht.postinst" does not run "texhash".

When the package was split into tex4ht and tex4ht-common, the
"texhash" part was only run in "tex4ht-common.postinst" since that
was the one installing the style files. BUT, tex4ht.env is actually
a part of "tex4ht"! My mistake.

I am also re-titling this bug since this has nothing to do with the
texlive transition --- except that the transition caused it to be
noticed!

I will fix this in the next upload.

Regards,

Kapil.
--

Index: debian/changelog
===================================================================
--- debian/changelog	(revision 4464)
+++ debian/changelog	(working copy)
@@ -1,3 +1,11 @@
+tex4ht (20070821-2) UNRELEASED; urgency=low
+
+  * debian/tex4ht.{postinst,postrm}: run "texhash" to ensure
+    that "tex4ht.env" entry in the search lists is updated.
+    Closes: #431964.
+
+ -- Kapil Hari Paranjape <[EMAIL PROTECTED]>  Sat, 25 Aug 2007 09:34:35 +0530
+
 tex4ht (20070821-1) unstable; urgency=low
 
   * New upstream release (2007_08_21_01:16).
Index: debian/tex4ht.postinst
===================================================================
--- debian/tex4ht.postinst	(revision 0)
+++ debian/tex4ht.postinst	(revision 0)
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+set -e
+
+# Update the kpathsea lists
+texhash
+
+#DEBHELPER#
Index: debian/tex4ht.postrm
===================================================================
--- debian/tex4ht.postrm	(revision 0)
+++ debian/tex4ht.postrm	(revision 0)
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+set -e
+
+if [ "$1" = purge ] ; then
+  command -v texhash > /dev/null 2>&1 && texhash || true
+fi
+
+#DEBHELPER#

Reply via email to